January 03, 2008, 02:47 PM
Brian SnellCOMT file permissions
Has anyone ever had to save a COMT (csv) file to an NT box using ReportCaster... and force the file to read only?
January 04, 2008, 09:04 AM
jgelonaI have had to do this in UNIX/LINUX and use the CHMOD command. On a Windows box, I'd use the DOS command ATTRIB to set the permissions:
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
[/S [/D]]
+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.