Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
c drive search
Name: ali1903 Date: February 19, 2007 at 07:07:34 Pacific OS: server 2003 CPU/Ram: na Product: hp
Comment:
Hi
I am trying to create a program to do the following
Search a drive for files of a certain type and the pass the file name on to batch file so a vbs script can be execued on them, I have tried this with for file sbut it keeps crashing with recursive folder errors. Does anyone know why this would happen or another way of doing it.
Batch file IF %ERRORLEVEL% NEQ 0 goto end IF %3 LEQ 10000000 goto end echo %2\%1 >> "c:\filename.txt" move %2\%1 g:\IT_TempStorage\Powerpointtestfiles\%1 copy g:\IT_TempStorage\Powerpointtestfiles\%1 c:\temp\657465834639.ppt IF %ERRORLEVEL% NEQ 0 goto end cd c:\ cscript c:\final.vbs c:\temp\657465834639.ppt %2\%1 del c:\temp\657465834639.ppt /F :end
Summary: I did find a post similar to what I need, but need to find a way to prefix that script with the required local C drive search string and logfile update I need. Post I'm referencing is titled "batch fi...
Summary: Hi all, im new to this site so i dnt knw how ths works hopefully this msg gets through. im trying to make a sub or function that will be able to search my entire c:\ drive for a folder that i specify ...
Summary: This batch Will Search for the specified file on the hard disk and delete when found Remove "echo" from |echo del "%%f" /f| to make it delete the file :: --- BATCH SCRIPT START --- :bof @echo ...