BobSakemano
Technical User
Can someone make a script or batch file for me that does this:
-Net Stop “Microsoft Exchange Information Store”
-Cd c:\program files\Exchange\bin\
-Eseutil /d c:\program files\db\x.edb
-Net Start “Microsoft Exchange Information Store”
I came across a few problems when I wanted to do it on my own, first off dos has a problem with program files, I tried “program~`” but it doesn’t seem to work right. Second thing is that the script needs to wait for the Net stop or the Defrag to finish before moving on to the next command line. What’s the best way to do this?
-Net Stop “Microsoft Exchange Information Store”
-Cd c:\program files\Exchange\bin\
-Eseutil /d c:\program files\db\x.edb
-Net Start “Microsoft Exchange Information Store”
I came across a few problems when I wanted to do it on my own, first off dos has a problem with program files, I tried “program~`” but it doesn’t seem to work right. Second thing is that the script needs to wait for the Net stop or the Defrag to finish before moving on to the next command line. What’s the best way to do this?