that easily eliminates this kind of disaster...
by validating a folder.
Example- Go to the Temporary Internet Files folder
- Select All
- Delete (Skip Locked)
!!! However, here comes a serious WARNING!!! Scripting is an
advanced hardcore feature, and the above example is a good one to
show you why. If the Temp folder cannot be shown (e.g., because
you opted to not show hidden items), then the script will happily
go on with the next commands (select all and delete) IN THE FOLDER
YOU END UP IN *instead* of the Temp folder!
::#559::<#CommandValidateFolderCommand>#250::#171
Description:
Execute the next parts of the command (#250::#171)only
if the ::#559 [Go to the Temporary Internet Files folder] was successful
(eg the Temporary Internet Files folder was displayed/validated)
The command should look for the previous command and only allow execution of the next
scripting command if the previous command was a "folder command" or a "Go to UDC" command.
There are maybe need for more types of "validate" commands but this could be a start?
I realize that this maybe is complicated...
XYplorer Beta Club