|
#1
|
|||
|
|||
Change File Attribute
Hi,
I need to change file attribute from Read-Only to Writable. Could someone tell me how to do this in Visual Build? Thanks, Jing |
#2
|
|||
|
|||
Use a "run Program" step with something like this as the command line:
%DOSCMD% attrib -R "%PROCFILES_FULLPATH%" |
#3
|
|||
|
|||
Or use this with a Run Program action: %ATTRIB(%PROCFILES_FULLPATH%, -R)%, using the global ATTRIB macro (the PROCFILES_FULLPATH macro usage implies this action is called by a Process Files action, which would specify the file(s) to update).
Kevin |
Thread Tools | |
Display Modes | Rate This Thread |
|
|