cancel
Showing results for 
Search instead for 
Did you mean: 

Importing Bulk PST - using EVPM with VBScript

Systems_Moses
Level 2

The code was already submitted by JesusWept3 - its an amazing code - thanks

https://www-secure.symantec.com/connect/forums/help-creating-evpm-script-ingest-psts-difficulty-scri...

But here was the slight problem with the code - the INI file invoked by EVPM is saved in UNICODE, the script catered and worked wonderfully in ANSI mode.

After a bit of research (ofcourse Google), i was able to make the following modifications to the VB Script to read and save the file in UNICODE. When creating the file, save the TemplateEVPM.ini file in Unicode mode.

Please note our requirement for the script was just to ingest loads of PST.

I am going to only paste the code that reads and writes to Unicode INI file

(reading file)

Set ReadEVPM = EVPMObj.OpenTextFile(EVPMFileName, 1, False, -1) 

(writing file)

Set WriteEVPM = EVPMObj.OpenTextFile(EVPMFileName, 2, False, -1)

Again JESUSWEPT3 - amazing script - it saved me loads of time manually doing this process - you are a genius !! thanks

 

-----

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

JesusWept3
Level 6
Partner Accredited Certified

thanks for the kudos, and im sorry that i didn't update the script, i actually went through the exact same thing with the person i was helping but it was all done off of that thread, I'm really sorry i didn't go back and fix it up, but glad you got it working :)

https://www.linkedin.com/in/alex-allen-turl-07370146

View solution in original post

1 REPLY 1

JesusWept3
Level 6
Partner Accredited Certified

thanks for the kudos, and im sorry that i didn't update the script, i actually went through the exact same thing with the person i was helping but it was all done off of that thread, I'm really sorry i didn't go back and fix it up, but glad you got it working :)

https://www.linkedin.com/in/alex-allen-turl-07370146