Search code examples
windowsvb6executablevirtualization

Trying to 'emulate' a document folder


I am a 3rd party, and I would like to start an 1st party application and virtualize somehow a document folder that I would decide the location.
The first application would not touch the real 'my document' folder but instead save the file in a location I would set. I don't want to change the registry entries for the personal folders, I want it just for this application.

I did some research but didn't find anything like that. Is that possible without a virtual machine? I would try to work in VB6, I want to test something on xp and win7. It's about a game redesign, and I would like the person to be able to have my program, and the original game installed on the PC without the configuration folders in 'my document' colliding.

I should mention that I cannot pass parameters to it because I am launching the 1st party application through a 2nd party executable already.

Thank you! Yanick


Solution

  • My solution was to search the executable with a hex editor and manually edit it to another folder. Of course I had to choose a folder with less or equal number or character in the path. Thank you all.