User`s guide
KwikNet Virtual File System
K
A
DAK
253
Running the VFS Generator
The KwikNet VFS Generator is a utility program which is provided ready for use on a PC
or compatible running the Microsoft
®
MS-DOS
®
or Windows
®
operating system. The
VFS Generator must be started from the MS-DOS command line or from the Windows
MS-DOS command prompt. It can also be started from the Windows
Run... dialog box.
Alternatively, you can create a Windows shortcut to the VFS Generator's filename and
then simply double click the shortcut's icon.
The directory which is in effect when the VFS Generator is started is called the working
directory. Hence, when the VFS Generator is started from an MS-DOS command
prompt, the MS-DOS current directory becomes the VFS Generator's working directory.
If the VFS Generator is started from a Windows shortcut, the working directory is
determined by the start path specified in the shortcut's link file. If the VFS Generator is
started from the Windows
Run... dialog box, the working directory will be undefined.
The command line used to start the VFS Generator is as follows:
KN_VFG vsfdefn [-o vfsname] [-p srcpath] [-s vfstring|-s-]
[-v volname] [-d basedir] [-c+|-c-] [-z ssize] [-t template]
[-u] [-g|-g+|-g-] [-q|-q0|-q1|-q2|-q3] [-?]
The VFS Generator utility program is named KN_VFG.EXE.
Only the first parameter, vsfdefn, is mandatory. All other parameters are optional as
indicated by the enclosing [] brackets. Omit the [ and ] characters when entering an
optional parameter. The symbol | indicates that only one of the set of optional
parameters can be used. Option letters are case sensitive. The order of optional
parameters is not important. The default condition for each option is defined in the
option descriptions which follow.
If an option is repeated on the command line, an error message may be generated. If no
error is observed, then the last (rightmost) use of an option will take precedence.
vsfdefn Mandatory full path and file name of your VFS Definition File.
A file name with extension UVF, such as MY_VFS.UVF, is recommended.
The working directory is used if no path, or a relative path, is specified.
-o vfsname Vfsname is the full path and file name for the generated VFS Data File.
The working directory is used if no path, or a relative path, is specified.
By default, the output VFS Data File will be named to match your
definition file vsfdefn but with the file extension changed to .C.
You can use the
...OUTFILE directive in your definition file to override
either the default or the vfsname output file name.