12-21-2012 11:06 AM
The code was already submitted by JesusWept3 - its an amazing code - thanks
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
-----
Solved! Go to Solution.
12-21-2012 02:42 PM
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 :)
12-21-2012 02:42 PM
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 :)