Version 4.5.2
 —  Commands  —

CHMOD

Description

Change the file attributes.

Syntax

CHMOD path [options]

path is as follows:

{[[drive:]\directory\...\]filename[.extension]}

options includes the following attributes:

A archive
H hidden
R read-only
S system

If you do not specify any options, all attributes are turned off.

Examples

Variables Returned

#RC (SUCCESS if CHMOD was successful. FAILURE if CHMOD was not successful.)

Related Commands

DOSDIR

Usage

Procedure File: Yes
Command Line: No
Key: No
API: No

Top of page