![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() I have written a vbscript that will utilize pst19upg.exe to strip a password from a pst file. (You may be asking yourself, why write a script to do this when you can do it from the cmd line? Well, this script is part of a much larger script, but I need this piece to work first.) Well, when I run the script out-of-pocket on my pc, everything works great and the passwords are removed. However, when the script is imported into an SMS package and pushed to my pc this way, the script fails completely. I have checked to see if this is a permissions issue, and that does not seem to be the case. Any help would be GREATLY appreciated. I'm at a loss! Here's is a small portion of the code: Set wshShell = CreateObject("WScript.Shell") Set fso = CreateObject("Scripting.FileSystemObject") psxName = Left(fileName, (Len(fileName) - 1)) & "x" bakName = Left(fileName, (Len(fileName) - 3)) & "bak" If fso.FileExists("pst19upg.exe") Then runString = "pst19upg -x " & Chr(34) & fileName & Chr(34) traceOut = traceOut & "Exporting psx file... ( " & runString & " )" & vbcrlf 'The following line works out-of-pocket, but fails with SMS wshShell.Run runString, 1, true If Not Err.Number = 0 Then etc. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
can't repair my PST file with scanpst.exe | balaji | Outlook - General Queries | 11 | December 21st 11 09:45 AM |
error message about svchs0t.exe | herman | Outlook Express | 2 | February 16th 06 05:00 PM |
SMS Add-in | Terry Bennett | Outlook - General Queries | 2 | February 7th 06 09:46 PM |
RunAway msmsgs.exe? | LinusF | Outlook Express | 5 | January 16th 06 08:08 PM |
how can I embed an exe file in to Word | Win | Outlook - Calandaring | 0 | January 8th 06 03:09 AM |