Microsoft
Software
Hardware
Network
Question : batch file to search all drives
Need to write a batch file to search all drives for a specific file.
Below is what i have now. Thanks.
c:
CD \
dir *.pst /-c /s >> \\ispc28\PST\pstfiles.txt
Answer : batch file to search all drives
Try this.
set Drives=C,D,E,F,G,H,I,J,K,L
,M,N,O,P,Q
,R,S,T,U,V
,W,X,Y,Z
fo
r %%D in (%Drives%) do dir %%D:\*.pst /-c /s >>\\ispc28\PST\pstfiles.txt
~
bp
Random Solutions
SQL Query - Syntax ( SQL 2005 / 2008 )
How to create a "Link Label"?
Excel Exception from HRESULT Error
How do I parameterise a Union query so that a prompt it not issued each time it runs...
Exporting Access table to Excel using VBA
Delayed write c:\Mft
Using MS Access to open web server MySQL database - is it possible?
Need to Capture LPT1, FROM MULTIPLE PRINT JOBS, and save them all in one file
DBNETLIB][ConnectionOpen(C<wbr />onnect()).<wbr />]Specified<wbr /> SQL server not found. MADNESS
GEt SQL data from Excel VBA