|
|||
|
psmw says:
Quote:
|
|
|||
|
Try
Code:
Shell.open(path_to_game.exe); Code:
var path = Shell.getEnvironmentVariable("path");
var newpath = path + ";" + path_to_game.exe;
Shell.setEnvironmentVariable("path", newpath);
Shell.run("game.exe");
//The "game.exe" process uses the environment of the calling process
//restore the environment
Shell.setEnvironmentVariable("path", path);
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|