An odd query regarding file directories.

Flannery Moore

Honorable
Apr 20, 2013
24
0
10,520
It's quite a simple question:



How do I make a programme ignore the all other folders, and only write data to a specified directory?




The reason:



I play a game called 'RuneScape'. I wish to run it strictly off my USB stick. I do not want it to interact with any files, or folders on my system. Is this possible?




The game is not exactly 'installed' like most normal games are. It is a simple 'library' of compressed cache files that are decompressed and recompressed during gameplay. There's no registry entries, no permissions; nothing. It is a simple library of files and folders.





This is it:


2vMk0Yv.gif




As you can see in that image, I moved all the files to the USB stick (Zip_Drive). It launches normally, but then immediately re-creates all those files into my User folder and ignores the USB from that point on, only using my HDD.






______


So once again, to be clear:


How do I make a programme ignore the all other folders, and only write data to a specified directory? The directory that I wish for it to write to in this case, would be "E:\RuneScape". All of the files are in their proper place. I do not need to relocate, move, or change anything.


The location that it loads from via the Desktop link, is "
E:\RuneScape\jagexcache\jagexlauncher\bin\JagexLauncher.exe runescape"; this works properly... It just currently writes to "C:\Users\Flannery". I wish for this to stop. I don't want any of the RuneScape related files on my system.
 
Pulling this out of the air, but maybe you should create a dedicated Windows account for Runescape, remove it from the Users group, then give it full rights to the USB drive. Make sure it doesn't have rights to any other drives or directories. Then, set your shortcut to run-as that account.