Hi,
In order to get my nightly builds to run and NOT leave VBP up with the save dialog, the VBP build saves out the bld file.
(
http://www.kinook.com/Forum/showthre...&threadid=2655)
The wrinkle is that often the build scripts are read only at the start of the build.
So, I would like to remove the read-only file attribute with the DOS command "attrib -r *.bld". I added the "Run program" step with the dos command and the VBP pro command, but both fail if the scritp is flagged read only.
I am using the DOS command
%DOSCMD% attrib -r c:\mybuildtest\*.bld
I am using the VBP attrib command
%ATTRIB(%PROJDIR%\*.bld, R)%
BUT... when the file is read only and I test the step from the VBP IDE, the 'save script' dialog is immedialy displayed. (Thi of couse happend when building too.)
It appears the VBP before shelling out attempts to save the current script. Since the script is read only, the save fails and the dialog is displayed.
Any way to 'turn off' auto save before running a DOS command?
Thanks,
Sheryl