I have exhausted all possible combinations in order to delete *.tmp files in vain. The technical issue is only peculiar to Windows XP. Also we must take into account that some *.tmp files may be currently used by applications; thus, they can't be removed. Nonetheless, the deletion process should continue nonstop until the end of the directory.
I'll profoundly appreciate your help. Thanks a lot.
Cheers,
Armstrong Wong
Hong Kong
Del>C:\Documents and Settings\My Name\Local Settings\*.tm
Moderators: JRL, Dorian (MJT support)
Try:
Let>delfiles=c:\documents and settings\my name\local settings\temp\*.tmp
Let>RP_WAIT=1
Let>RP_WINDOWMODE=0
Run>CMD.EXE /c del /q %delfiles%
Let>delfiles=c:\documents and settings\my name\local settings\temp\*.tmp
Let>RP_WAIT=1
Let>RP_WINDOWMODE=0
Run>CMD.EXE /c del /q %delfiles%
MJT Net Support
[email protected]
[email protected]
Hi Support,
Again I tried out your sample code in all imaginable combinations. Eventually, the following code works brilliantly:
Let>delfiles="c:\documents and settings\My Name\local settings\temp\*.tmp"
Let>RP_WAIT=5
Let>RP_WINDOWMODE=0
Run>CMD.EXE /c del /q %delfiles%
Let>delfiles=c:\documents and settings\My Name\local settings\temp\*.wav
Run>CMD.EXE /c del /q %delfiles%
The pair of double quotes does the trick. Hope you find it interesting.
Cheers,
Armstrong Wong
Hong Kong
Again I tried out your sample code in all imaginable combinations. Eventually, the following code works brilliantly:
Let>delfiles="c:\documents and settings\My Name\local settings\temp\*.tmp"
Let>RP_WAIT=5
Let>RP_WINDOWMODE=0
Run>CMD.EXE /c del /q %delfiles%
Let>delfiles=c:\documents and settings\My Name\local settings\temp\*.wav
Run>CMD.EXE /c del /q %delfiles%
The pair of double quotes does the trick. Hope you find it interesting.
Cheers,
Armstrong Wong
Hong Kong
Ah yes, of course you would probably need quotes round the path as it contains spaces.
MJT Net Support
[email protected]
[email protected]