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
The command or action 'OutputTo' isn't available now
Help with existing formula
register exe as a com server
Loose Autotext entries on Word 2003 startup
delete duplicate records
Auto Format data in Access to Capitalize first letters
ActiveDocument.SaveAs getting error message
Dell Vostro 220 suddently running at CPU Usage 100%
Using outlook.application in Foxpro
Artifact created with LinearGradientBrush and FillRectangle