FileSetAttributes

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > File >

FileSetAttributes

available from build: 20120523

Description

This command allows the setting of the read-only and of the hidden file attributes.

Syntax

call DBWShell("FileSetAttributes fullPathFileName setReadOnly setHidden")

Parameters

fullPathFileName

the full path of the file

setReadOnly

0:set the file as writeable
1: set the file as read-only

setHidden

0:set the file as visible
1: set the file as hidden

See also

FileGetAttributes command