Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2004, 03:33 PM
jhuang jhuang is online now
Registered User
 
Join Date: 10-22-2003
Posts: 9
Smile 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
Reply With Quote
  #2  
Old 02-24-2004, 03:48 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-20-2003
Location: Dunedin, New Zealand
Posts: 114
Use a "run Program" step with something like this as the command line:

%DOSCMD% attrib -R "%PROCFILES_FULLPATH%"
Reply With Quote
  #3  
Old 02-24-2004, 04:38 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:09 AM.


Copyright © 1999-2023 Kinook Software, Inc.