How to set permissions of files, Caution – Gasboy CFN III Manager Manual V3.6 User Manual
Page 179
MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010
Page 17-7
Site Controller Files
CFN3 File System
If you are not in the directory where the original file is located, you must also specify the
original file’s path.
When you use the COPY command, you end with two identical copies of the same file, but
under two different names. With RENAME you end up with only one copy of a renamed
file.
With RENAME, both the original file and the new file must be in the current directory. Use
RENAME;A (described in the following section) when different directories are involved.
How to Move Files Between Directories of the RAM Drive
Use the RENAME;A command to move a file to a different directory. You must specify the
original filename and the new filename on the command line. If you do not specify the
filenames, you will not be prompted for them.
[P:]* RENAME;A TEST.CMD /
LOADTEST.BAK
↵
[P:]* *
If a file already exists in the destination directory with the name you have chosen
for the destination file, the existing file will be overwritten.
CAUTION
Provide the path for whichever of the two directories, original or destination, you are not
currently in. If you are in a third directory, provide the path for both the original and
destination files.
When you use RENAME;A to move a file from one directory to another, you do not have to
choose a different name for the destination file. Both the original and destination filenames
can be identical; only the paths will change.
How to Set Permissions of Files
The SET_PERM command allows you to control which users have access to which
disk-based command files.
Here is a summary of the SET_PERM command:
SET_PERM disk-based command to change file attributes and permissions.
Options: [-R] [-H] [-N] [-Uuser_no][-Pperm_level] file1 [file2]
Command
Description
[-R] file1 [file2]
sets read-only status on file1 [file2]
[-H] file1 [file2]
sets hidden status on file1 [file2]
[-N] file1 [file2]
allows any user to execute the disk-based command(s) file1, file2, and so on.
-Uuser_no file1 [file2] ...
only user number user_no may execute the disk-based command(s) file1, file2,
and so on.
-Pperm_level file1 [file2] ...
only users having a permission level greater than or equal to perm_level may
execute the disk-based command(s) file1, file2, and so on.