A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Help! Problem running pst19upg.exe via SMS



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 8th 06, 08:05 PM posted to microsoft.public.outlook
[email protected]
external usenet poster
 
Posts: 2
Default Help! Problem running pst19upg.exe via SMS


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.