FileSystem Methods

 

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChDir(String)

Changes the current directory or folder. The My feature gives you better productivity and performance in file I/O operations than the ChDir function. For more information, see CurrentDirectory .

System_CAPS_pubmethodSystem_CAPS_staticChDrive(Char)

Changes the current drive.

System_CAPS_pubmethodSystem_CAPS_staticChDrive(String)

Changes the current drive.

System_CAPS_pubmethodSystem_CAPS_staticCurDir()

Returns a string representing the current path. The FileSystem gives you better productivity and performance in file I/O operations than CurDir. For more information, see CurrentDirectory.

System_CAPS_pubmethodSystem_CAPS_staticCurDir(Char)

Returns a string representing the current path. The FileSystem gives you better productivity and performance in file I/O operations than CurDir. For more information, see CurrentDirectory.

System_CAPS_pubmethodSystem_CAPS_staticDir()

Returns a string representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive. The FileSystem gives you better productivity and performance in file I/O operations than the Dir function. See GetDirectoryInfo for more information.

System_CAPS_pubmethodSystem_CAPS_staticDir(String, FileAttribute)

Returns a string representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive. The FileSystem gives you better productivity and performance in file I/O operations than the Dir function. See GetDirectoryInfo for more information.

System_CAPS_pubmethodSystem_CAPS_staticEOF(Int32)

Returns a Boolean value True when the end of a file opened for Random or sequential Input has been reached.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFileAttr(Int32)

Returns an enumeration representing the file mode for files opened using the FileOpen function. The FileSystem gives you better productivity and performance in file I/O operations than the FileAttr function. See GetFileInfo for more information.

System_CAPS_pubmethodSystem_CAPS_staticFileClose(Int32[])

Concludes input/output (I/O) to a file opened using the FileOpen function. My gives you better productivity and performance in file I/O operations. See FileSystem for more information.

System_CAPS_pubmethodSystem_CAPS_staticFileCopy(String, String)

Copies a file. The FileSystem gives you better productivity and performance in file I/O operations than FileCopy. See CopyFile for more information.

System_CAPS_pubmethodSystem_CAPS_staticFileDateTime(String)

Returns a Date value that indicates the date and time a file was written to. The My feature gives you better productivity and performance in file I/O operations than FileDateTime. For more information, see GetFileInfo

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Array, Int64, Boolean, Boolean)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Boolean, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Byte, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Char, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, DateTime, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Decimal, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Double, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Int16, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Int32, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Int64, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, Single, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, String, Int64, Boolean)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGet(Int32, ValueType, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGet. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileGetObject(Int32, Object, Int64)

Reads data from an open disk file into a variable. The My feature gives you better productivity and performance in file I/O operations than FileGetObject. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileLen(String)

Returns a Long value that specifies the length of a file in bytes. The My feature gives you better productivity and performance in file I/O operations than FileLen. For more information, see GetFileInfo.

System_CAPS_pubmethodSystem_CAPS_staticFileOpen(Int32, String, OpenMode, OpenAccess, OpenShare, Int32)

Opens a file for input or output. The My feature gives you better productivity and performance in file I/O operations than FileOpen. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Array, Int64, Boolean, Boolean)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Boolean, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Byte, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Char, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, DateTime, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Decimal, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Double, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Int16, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Int32, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Int64, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, Single, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, String, Int64, Boolean)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem..

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Int32, ValueType, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePut(Object, Object, Object)

Obsolete. Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePut. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFilePutObject(Int32, Object, Int64)

Writes data from a variable to a disk file. The My feature gives you better productivity and performance in file I/O operations than FilePutObject. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticFileWidth(Int32, Int32)

Assigns an output line width to a file opened by using the FileOpen function.

System_CAPS_pubmethodSystem_CAPS_staticFreeFile()

Returns an Integer value that represents the next file number available for use by the FileOpen function.

System_CAPS_pubmethodSystem_CAPS_staticGetAttr(String)

Returns a FileAttribute value that represents the attributes of a file, directory, or folder. The My feature gives you better productivity and performance in file I/O operations than FileAttribute. For more information, see FileSystem.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Boolean)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Byte)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Char)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, DateTime)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Decimal)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Double)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Int16)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Int32)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Int64)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Object)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, Single)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInput(Int32, String)

Reads data from an open sequential file and assigns the data to variables.

System_CAPS_pubmethodSystem_CAPS_staticInputString(Int32, Int32)

Returns String value that contains characters from a file opened in Input or Binary mode. The My feature gives you better productivity and performance in file I/O operations than InputString. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticKill(String)

Deletes files from a disk. The My feature gives you better productivity and performance in file I/O operations than Kill. For more information, see FileSystem .

System_CAPS_pubmethodSystem_CAPS_staticLineInput(Int32)

Reads a single line from an open sequential file and assigns it to a String variable.

System_CAPS_pubmethodSystem_CAPS_staticLoc(Int32)

Returns a Long value that specifies the current read/write position in an open file.

System_CAPS_pubmethodSystem_CAPS_staticLock(Int32)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticLock(Int32, Int64)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticLock(Int32, Int64, Int64)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticLOF(Int32)

Returns a Long representing the size, in bytes, of a file opened by using the FileOpen function. The My feature gives you better productivity and performance in file I/O operations than LOF. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticMkDir(String)

Creates a new directory. The My feature gives you better productivity and performance in file I/O operations than MkDir. For more information, see CreateDirectory.

System_CAPS_pubmethodSystem_CAPS_staticPrint(Int32, Object[])

Writes display-formatted data to a sequential file.

System_CAPS_pubmethodSystem_CAPS_staticPrintLine(Int32, Object[])

Writes display-formatted data to a sequential file.

System_CAPS_pubmethodSystem_CAPS_staticRename(String, String)

Renames a disk file or directory. The My feature gives you better productivity and performance in file I/O operations than Rename. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticReset()

Closes all disk files opened by using the FileOpen function. The My feature gives you better productivity and performance in file I/O operations than Reset. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticRmDir(String)

Removes an existing directory. The My feature gives you better productivity and performance in file I/O operations than RmDir. For more information, see DeleteDirectory.

System_CAPS_pubmethodSystem_CAPS_staticSeek(Int32)

Returns a Long specifying the current read/write position in a file opened by using the FileOpen function, or sets the position for the next read/write operation in a file opened by using the FileOpen function. The My feature gives you better productivity and performance in file I/O operations than Seek. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticSeek(Int32, Int64)

Returns a Long specifying the current read/write position in a file opened by using the FileOpen function, or sets the position for the next read/write operation in a file opened by using the FileOpen function. The My feature gives you better productivity and performance in file I/O operations than Seek. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticSetAttr(String, FileAttribute)

Sets attribute information for a file. The My feature gives you better productivity and performance in file I/O operations than SetAttr. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticSPC(Int16)

Used with the Print or PrintLine function to position output.

System_CAPS_pubmethodSystem_CAPS_staticTAB()

Used with the Print or PrintLine functions to position output.

System_CAPS_pubmethodSystem_CAPS_staticTAB(Int16)

Used with the Print or PrintLine functions to position output.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticUnlock(Int32)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticUnlock(Int32, Int64)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticUnlock(Int32, Int64, Int64)

Controls access by other processes to all or part of a file opened by using the Open function. The My feature gives you better productivity and performance in file I/O operations than Lock and Unlock. For more information, see FileSystem.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Int32, Object[])

Writes data to a sequential file. Data written with Write is usually read from a file by using Input.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Int32, Object[])

Writes data to a sequential file. Data written with Write is usually read from a file by using Input.

Return to top
Show: