Code: Select all
MSG "User and System temporary files will be deleted. Click OK to continue." ,1,;
DELETE 1,0,"%localappdata%\Temp\* | %windir%\Temp\* | %appdata%\Microsoft\Windows\Recent\*.lnk";During troubleshooting, I was only able to delete multiple items if they were listed by name explicitly. That just won't do.
I assume this is user error, but going by the XYWiki, I can't find out what the problem is. From the Wiki:
* You can use wildchars ( * ? ) if you want, to delete multiple items at once. You can even combine items with wildchars.
* When specifying more than one item, you can put spaces around the pipe separator, they will be stripped automatically.
Examples
delete 1, 0, ":list";
Sends all selected List items to the Recycle Bin without asking for confirmation
delete 0,,"D:\Some Folder";
Deletes folder D:\Some Folder (no Recycle Bin), asking a confirmation or not depending on the user option.
delete 0, 0, "E:\Folder\*.tmp | E:\Folder\*.bak";
Deletes directly (no Recycle Bin, no confirmation) all INI and BAK files in E:\Folder
However, the Scripting Commands Reference in the Help files doesn't mention wild card characters.
What am I doing wrong?
Thanks,
-Jeff
EDIT: UAC in Vista is turned completely off, and I am running under an administrator account.
XYplorer Beta Club