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
Windows 7 Software Restriction Policy not working.
Strange errors when compiling and OpenGL program
Can not connect to a sql 2005 server HELP
Dos script to control services
use sql surface area to set ip addresses that can conect
Backup SQL2008 with a script from task scheduller
Error: "The action cannot be carried out while processing a form event."
Storing a web page's data stream in a string
Really Uninstall previous versions of Microsoft Office if I like to try Office 2010?
Net Time reporting wrong time to workstations.