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
TextBox and Validation Rule
Total cost formula using Excel
Cisco VPN client on VISTA
Task Sequence question
Access 2007 Customized Ribbon button disappears in Runtime
How do I fix App log Event id 1202 warning. 0x534 error (Windows 2000 Server)?
Does Office 2003 SP3 include SP1 and SP2 ?
How to create links in access tables
Installing Exchange 2007 Managment Tools on Windows 7
New removable HDD not detected