.bat file search and delete
#1
Posted 20 August 2010 - 09:17 AM
#2
Posted 20 August 2010 - 11:58 AM
I think that fits what your looking to do.cd Roaming
REM Roaming = path to the roaming folder.
dir /s search criteria > temp.txt
REM Basically treat temp.txt as an external variable. Call it whatever you want.
set tmp =< temp.txt
REM tmp IS a variable.
del temp.txt
del %tmp%
REM Referance variables by surrounding them with %'s
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users