InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript Server-Side VBScriptVBScript Basic ElementVBScript OperatorVBScript StatementVBScript FunctionVBScript Object VBScript Object Element VBScript Object MethodDictionary Method Draft for Information Only
ContentVBScript Methods of FSO File Object
VBScript Methods of FSO File ObjectSome typical predefined Elements are.
Copy Methodis to copy the associated file or folder object to the specified destination according to the specified overwrite setting. Syntaxfsofolderobjvar.Copy( destination[, overwrite] ) fsofileobjvar.Copy( destination[, overwrite] ) Argumentfsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.CopyRequired Keyword. to specify the Method of associated Object.destinationRequired. Destination where the file or folder is to be copied. Wildcard characters are not allowed.overwriteOptional. Boolean value that is True (default) if existing files or folders are to be overwritten; False if they are not.Remark
Applied toFolder Object, File ObjectDelete Methodis to delete the associated file or folder object according to the force setting. Syntaxfsofolderobjvar.Delete( [force]) fsofileobjvar.Delete( [force]) Argumentfsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.DeleteRequired Keyword. to specify the Method of associated Object.forceOptional. Boolean value that is True if files or folders with the read-only attribute set are to be deleted; False (default) if they are not.Remark
Applied toFolder Object, File ObjectMove Methodis to move folder or file of the associated Folder or File Object to the specified destination. Syntaxfsofolderobjvar.Move( destination ) fsofileobjvar.Move( destination ) Argumentfsofolderobjvar | fsofileobjvarRequired. to specify the associated Object instance reference.MoveRequired Keyword. to specify the Method of associated Object.destinationRequired. Destination where the file or folder is to be moved. Wildcard characters are not allowed.Remark
Applied toFolder Object, File ObjectOpenAsTextStream Methodis to open a TextStream Object of the associated File Object according to specified optional iomode setting and format setting for reading from, writing to, or appending to the file. Syntaxfsofileobjvar.OpenAsTextStream([iomode, [format]]) ArgumentfsofileobjvarRequired. to specify the associated Object instance reference.OpenAsTextStreamRequired Keyword. to specify the Method of associated Object.iomodeOptional Setting. Indicates input/output mode. Can be one of three constantsformatOptional Setting. One of three Tristate values used to indicate the format of the opened file. If omitted, the file is opened as ASCII.Settingiomode argument: ConstantValueDescriptionForReading1Open a file for reading only. You can't write to this file.ForWriting2Open a file for writing.ForAppending8Open a file and write to the end of the file.
format argument: ConstantValueDescriptionTristateUseDefault-2Opens the file using the system default.TristateTrue-1Opens the file as Unicode.TristateFalse0Opens the file as ASCII. Remark
Applied toFile Object©sideway ID: 180600007 Last Updated: 6/7/2018 Revision: 0 Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 429 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019