beautypg.com

How to print the current directory name, How to copy a directory, How to remove a directory – Gasboy CFN III Manager Manual V3.6 User Manual

Page 182: Caution

background image

CFN3 File System

Directory Commands

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

How to Print the Current Directory Name

Use the disk-based command WHERE to print the name of the current directory.

WHERE

[P:]* WHERE

Current directory - R:

[P:]* CHDIR BIN

[P:]* WHERE

Current directory = R:BIN/

[P:]*

How to Copy a Directory

NEVER use RCP to copy a parent directory to one of its subdirectories. You will
fill, and very possibly damage, the disk containing the directories. If you
accidentally start such a recursive copy, press ^C (CONTROL - C) to halt it.

CAUTION

RCP
[P:]* RCP TRAN_BAK /tran/
TRAN_BAK

SEP_30.TRN
OCT_01.TRN
OCT_02.TRN
OCT_O3.TRN
[P:]*

Use the disk-based command RCP to copy all the files in a directory, including subdirectories,
to a new directory. The new directory must already exist. The name of each file is printed as
the file is copied. RCP works only with the Ram Drive. You cannot copy to other drives.

RCP stands for Recursive CoPy. RCP is a program to use for backing up.

How to Remove a Directory

Use the command RMDIR or RM to remove a directory. You must first remove all the files
from a directory before you can remove that directory.

RMDIR (RM)

[P:]* RMDIR MY_CMDS

[P:]*

This manual is related to the following products: