Trying to execute:
DELTREE C:\FRED\*.* /Y
C:\FRED has some sub-directories under it.
So put:
C:\WINDOWS\COMMAND\DELTREE.EXE in TARGET
C:\FRED\*.* /Y in COMMAND LINE ARGUMENTS
C:\ in WORKING DIRECTORY
Tick WAIT FOR PROGRAM TO FINISH and NORMAL screen. Also set to execute BEFORE INSTALLING.
When SETUP reaches this point, the Windows DOS window asks me to confirm the deletion for each of the sub-directories below C:\FRED and then I have to manually close the DOS window to allow SETUP to continue.
If C:\FRED has no sub-directories then SETUP runs through normally.
As expected, if I type the whole command manually in Windows it works OK.
Any ideas of where I am going wrong with entering the arguments?
TIA
John
LATER::: Wonder if complete line of arguments should be in quotes as there is a space between them. Manual says this required for long file names which I understand but not for parameters as Windows should sort this out.
So off to try now. If no further news assume it worked.
[This message has been edited by JXBURNS (edited 05-03-2001).]
NO, that did not work. System flashed up the DOS window but did not actually do anything.
Anyone else know how I can get DELTREE to work properly as SF does not know how to delete all sub-folders. TIA John
[This message has been edited by JXBURNS (edited 05-04-2001).]
DELTREE C:\FRED\*.* /Y
C:\FRED has some sub-directories under it.
So put:
C:\WINDOWS\COMMAND\DELTREE.EXE in TARGET
C:\FRED\*.* /Y in COMMAND LINE ARGUMENTS
C:\ in WORKING DIRECTORY
Tick WAIT FOR PROGRAM TO FINISH and NORMAL screen. Also set to execute BEFORE INSTALLING.
When SETUP reaches this point, the Windows DOS window asks me to confirm the deletion for each of the sub-directories below C:\FRED and then I have to manually close the DOS window to allow SETUP to continue.
If C:\FRED has no sub-directories then SETUP runs through normally.
As expected, if I type the whole command manually in Windows it works OK.
Any ideas of where I am going wrong with entering the arguments?
TIA
John
LATER::: Wonder if complete line of arguments should be in quotes as there is a space between them. Manual says this required for long file names which I understand but not for parameters as Windows should sort this out.
So off to try now. If no further news assume it worked.
[This message has been edited by JXBURNS (edited 05-03-2001).]
NO, that did not work. System flashed up the DOS window but did not actually do anything.
Anyone else know how I can get DELTREE to work properly as SF does not know how to delete all sub-folders. TIA John
[This message has been edited by JXBURNS (edited 05-04-2001).]
Comment