AppCtrlScript

MAY Computer

Help

SETFILEREADONLY

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

File

See also  

GETFILEREADONLY,FILECOPY, FILEMOVE, FILEDELETE

Sets or clears the read-only flag of the given file. 

Syntax

SETFILEREADONLY <SourceFileName>[, <Flag>]

Part

Description

<SourceFileName> Complete filename of the file for which to change readonly flag.
<Flag> 1|0; If 1 or parameter missing then file is set to readonly otherwise the read-only flag of the file is cleared.