Specifying a directory name or file name
Specifying a directory name
To specify a directory, you can use the absolute path or a relative path. For example, the working directory is flash:/. To specify the test2 directory in Figure 22, you can use the following methods:
flash:/test/test1/test2 (absolute path)
flash:/test/test1/test2/ (absolute path)
test/test1/test2 (relative path)
test/test1/test2/ (relative path)
Figure 22: Sample directory hierarchy
Specifying a file name
To specify a file, use the following methods:
Enter the absolute path of the file and the file name in the format of filesystem/directory1/directory2/…/directoryn/filename, where directoryn is the directory in which the file resides.
Enter the relative path of the file and the file name.
For example, the working directory is flash:/. The samplefile.cfg file is in the test2 directory shown in Figure 22. To specify the file, you can use the following methods:
flash:/test/test1/test2/samplefile.cfg
test/test1/test2/samplefile.cfg