Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Change File Attribute (https://www.kinook.com/Forum/showthread.php?t=337)

jhuang 02-24-2004 03:33 PM

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

pjaquiery 02-24-2004 03:48 PM

Use a "run Program" step with something like this as the command line:

%DOSCMD% attrib -R "%PROCFILES_FULLPATH%"

kevina 02-24-2004 04:38 PM

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


All times are GMT -5. The time now is 07:13 PM.


Copyright © 1999-2023 Kinook Software, Inc.