Do you want to speed up and simplify the process of repairing Outlooks pst-files ?
This simple program was posted yesterday as a "quickfix" for a member who (in another thread) said he had to run scanpst.exe several times to repair Outlooks pst-files.
Today when i was updating the post i looked at the code and saw that i could rewrite it so it also works in CMD, which means that you donīt have to use TCC.
But I recommend getting TCC anyway.
Personally i prefer TCC over CMD since it has more commands, is more user-friendly and lets you do more advanced programming.
But also because I have posted other small programs that might interest you, and they are btm-files requiring TCC.
Here is a simple program that i wrote.
It saves you from having to restart scanpst.exe manually several times, and from having to enter your Admin-password each time...
You should run the program as Administrator, then you only have to enter your Admin-password once.
1. Follow the normal procedure for Scanpst.exe (scan, create backup, repair etc.)
2. When scanpst says "Repair complete", Click OK
3. Press any key
The program jumps back to the beginning.
Repeat the procedur at point 1 above.
When scanpst.exe doesnīt find any more errors
Kill Scanpst.bat / Scanpst.btm instead of pressing any key.
Should you happen to press a key accidentally then there is no harm done, just kill both programs instead...
Scanpst.btm (Requires TCC)
Scanpst.bat (Works in CMD)
C:\PROGRAM FILES\OFFICE 2010\Office14\
If you remove the PAUSE the program will restart scanpst.exe without the need to press any key (point 3 in procedure) .
CD PROGRAM FILES\OFFICE 2010\Office14\
But then you canīt kill scanpst.exe !
It will restart forever....
To stop the loop, you have to kill Scanpst.btm / Scanpst.bat first, then kill scanpst.exe.
Note: this is just an example.
In Scanpst.bat you have to change the letter in line 2, to the disk where you have Outlook installed, in a standard installation itīs C.
And in both programs you have to change the path to the folder where you have Outlook installed.
Scanpst.btm is a BTM-file and not a BAT-file, you will need TCC/LE, the FREE version of Take Command, software available here:
Windows Command Prompt | Windows Console CMD Command Line
Personally i prefer TCC over CMD since it has more commands, is more userfriendly and lets you do more advanced programming.