beautypg.com

How to list all files below a directory, How to create directories, How to change to a different directory – Gasboy CFN III Manager Manual V3.6 User Manual

Page 181

background image

MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

Page 17-9

Directory Commands

CFN3 File System

How to List All Files Below a Directory

DIRECTORY lists files in the current directory or in a specified directory, but if other
directories are under that directory, you have to use DIRECTORY again to list them. The

disk-based command TREE lists all the files on the [P:]* RAM drive and any subdirectories
only.

[P:]* TREE

RESTORE.BIN
BACKTRAN.BIN
SYSBAC K.CMD
TRANBACK.CMD
TREE.BIN

[P:]*

How to Create Directories

Use the command MKDIR or MK to create a new directory on the RAM drive. You must
specify the name of the directory on the command line. If you do not specify the name, you
will not be prompted for it. The directory will be created as a subdirectory of the current
directory, so first make sure the current directory is indeed where you want to add the new
directory.

MKDIR (MK)

[P:]* MKDIR MY_CMDS

[P:]*

How to Change to a Different Directory

Use the command CHDIR or CHD to change the current directory. You must specify the name
of the directory you want to change to on the command line. CHDIR .. changes directory to the
parent of the current directory. CHDIR / changes directory to the root directory.

MKDIR (MK)

[P:]* MKDIR MY_CMDS

[P:]*

How to Change to a Different Disk Drive from a Remote Site

To change to a different drive, you must exit the SC3 prompt. You do not change drives as you
do in DOS. Your prompt will always remain [P:]*. This command is meant for remote access
use only.

[P:]* sys

[C:\SC3]

[C:\SC3]exit
[P:]*[P:]*

When using the PC, make changes to different directories on other drives using a PC
command window (DOS) not the SCIII command window.

This manual is related to the following products: