home *** CD-ROM | disk | FTP | other *** search
File List | 2000-10-10 | 5.1 KB | 181 lines |
- Virtual File System Console Utility program command summary
-
- Syntax:
- VFile [-<Switch>...] [<Command> [-<h|?> | <Parameters...>]]
- -f<FileName> = Mount image file. Repeat switch for additional images.
- -h,-? = Show help message.
- -e = Environment. Load internal environment from system.
- Environment variables can be manipulated with SET command.
-
- Type "VFile Help" to view list of commands.
- Type "VFile <Command> -h" to view command specific help.
-
- If no command specified, console mode is entered.
- If no image file mounted, a file named "Image.img" if exist
- in current directory will be mounted.
-
-
- Image Files/Volumes related commands:
-
- Mount
-
- Mount virtual image file(s).
- Mounted images will have "\\.\Vf#" as volume names.
- Syntax: Mount <ImageFile> [<ImageFile2>...]
-
- Format
-
- Format a mounted virtual volume.
- Syntax: Format [-4] [-8] [-2] [-s] <Drive> [BootImage]
- -4 = 1.44M floppy.
- -8 = 2.88M floppy.
- -2 = 1.2M floppy.
- -s = Default boot loader. [BootImage] will be ignored if specified.
- [BootImage] = Name of an Image file containing boot sector to load.
- Example: "Format \\.\Vf0" or "Format 0".
-
- NewImage
-
- Create a new blank image file.
- Syntax: NewImage [-4] [-8] [-2] [-s] <FileName> [Sectors] [BootImage]
- -4 = 1.44M floppy image.
- -8 = 2.88M floppy image.
- -2 = 1.2M floppy image.
- -s = Write default boot loader.
- <FileName> = Image file name to create.
- [Sectors] = Size of image file in number of 512 byte sectors.
- If omitted, unless an image type switch is specified a file
- will be created that fills the media.
- [BootImage] = Name of an Image file containing boot sector to load.
- Ignored if -s is specified.
-
- ListDrives
-
- List Virtual File System drives and information.
- Syntax: ListDrives [-a]
- -a = Show all visible drives, not just mounted virtual volumes.
-
- CheckMedia
-
- Report media status.
- Syntax: CheckMedia [Drive]
- Example: "CheckMedia \\.\Vf0" or "CheckMedia 0", "CheckMedia C:".
-
-
- File system access related commands:
-
- Dir
- Syntax: Dir [[[Path]\][File(s)]]
-
- CopyFile
-
- Copy a single file.
- Syntax: CopyFile [-d] <SourceFile> <DestinationFile>
- -d = Delay for 5 seconds every 50MB.
-
- DelFile
-
- Delete a single file.
- Syntax: DelFile [-u] <FileName>
- -u = Unconditionally delete R/O file.
-
- Dup
- Duplicate/Copy file(s).
- Syntax: Dup [-p] [-s] [-v] [-d] <File(s)> [DestPath]
- -p = Display progress.
- -s = Show status/statistics.
- -v = Verbose mode. Show file names as they are copied.
- -d = Delay for 5 seconds every 50MB.
- Example: "Dup *.Txt \\.\Vf0" Copy from current dir to target root.
- "Dup \\.\Vf0\*.Dat" Copy from drive 0 root to current dir.
-
- Erase
-
- Erase/Delete file(s).
- Syntax: Erase [-u] [-q] <File(s)>
- -u = Unconditionally delete R/O file(s).
- -q = Quiet mode. Don't show file names as they are deleted.
- Example: "Erase \\.\Vf0\*.Txt" Erase all text files in drive 0 root.
-
- Type
-
- Display content of a file.
- Syntax: Type <FileName>
-
- CreateFile
-
- Create a new file.
- Syntax: CreateFile [-d] [-p] <FileName> [Size] [Template]
- -d = Delay for 5 seconds every 50MB.
- -p = Pattern. Create with predictable data pattern.
- [Size] = File size in bytes.
- If omitted, file is created that fills the media.
- [Template] = Template file to duplicate at start of created file.
-
- VerifyFile
-
- Verify content of a file by reading all bytes in file.
- Syntax: VerifyFile [-r] [-c] <FileName>
- -c = Check for data pattern created by CreateFile command.
- -r = Process file in reverse.
-
- CompFile
-
- Compare two files.
- Syntax: CompFile [-r] <File1> <File2>
- -r = Process files in reverse.
-
- MakeDir
-
- Make/create directory.
- Syntax: MakeDir <DirName>
-
- DelDir
-
- Delete directory.
- Syntax: DelDir <DirName>
-
-
- Console environment/Batch processing related commands:
-
- Help
- List available commands or help on individual commands.
- Syntax: Help [Command]
-
- Goto
- Branch to new position in batch file.
- Syntax: Goto <Label>
- Example: "Goto LABEL" Branch execution to line beginning ':LABEL'.
-
- If
- Execute specified command if expr1 is same as expr2.
- Compare is case insensitive.
- Syntax: If <Expr1> <== or !=> <Expr2> <Command> [CommandArgs...]
-
- Set
- Assign value to environment variable.
- Syntax: Set <Variable>=[Value]
-
- Call
- Execute commands from batch file.
- Syntax: Call <BatchFile> [Args...]
-
- Exit
- End processing of batch file.
-
- Echo
- Echo text or control echo of batch file lines.
- Syntax: Echo [On | Off | <Text>]
- Example:
- Echo ON = Turns on echo.
- Echo OFF = Turns off echo.
- Echo <text> = Displays text.
- Echo = Displays echo state.
-
- Rem
- Remark.
-
- Pause
- Pause command processing till return pressed.
- Syntax: Pause [Text]
-