| Author |
Message |
   
Robert Young
Username: abilitysys
Registered: N/A
| | Posted on Tuesday, Aug 19, 2008 - 18:25: | |
Is there a way to conditionally execute a "deletefile" command? Something like: if exist "File X" DeleteFile "File X" or alternatively, force continuation of a script so that the lack of a file doesn't stop it. Something like: On Error Continue DeleteFile "File X" DeleteFile "File Y" DeleteFile "File Z" So that even if file X doesn't exist, File Y and Z are deleted.... Thanks. - Robert |
   
Björn Ganster
Username: admin4
Registered: 3-2004
| | Posted on Wednesday, Aug 20, 2008 - 11:00: | |
If you are referring to the WinHex scripting language,the capabilities of that language are limited. Please consider using the API functions instead. If that is not an option, please let us know why. |
   
Robert Young
Username: abilitysys
Registered: N/A
| | Posted on Wednesday, Aug 20, 2008 - 16:40: | |
Yes, I'm referring o WinHex. No, I'd rather not write a program that uses the API since it introduces a new layer. Just consider my suggestion for a future release, then. - Robert |
|