Click or drag to resize

FileSystem Class

A collection of static methods to help with file system operations.
Inheritance Hierarchy
SystemObject
  Mastersign.BenchFileSystem

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public static class FileSystem

The FileSystem type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberWindowsScriptingHostShell
Returns an instance of the COM object WshShell.
Top
Methods
  NameDescription
Public methodStatic memberAsureDir
Makes sure a directory exists. Creates it, if it does not exist yet.
Public methodStatic memberCopyDir
Copies a directory with all its content to another location.
Public methodStatic memberCreateShortcut
Creates a Windows shortcut, or link respectively.
Public methodStatic memberEmptyDir
Makes sure, the given path references an empty directory. If the directory does not exist, it is created, including missing parent folders. If the directory exists, all content is recursively deleted.
Public methodStatic memberMoveContent
Moves all the content from one directory to another.
Public methodStatic memberPurgeDir
Deletes a directory and all of its content.
Top
See Also