Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Program Form is located:
- D:\folder\form.exe
- Game is located here:
- D:\folder\Source\Game1\
- Code the Form performs:
- Process.Start(GamePortalPath + "\\Source\\Game1\\game.exe", "-parameter");
- The game exe starts just fine, but the Exe somehow starts from the same place where the form exe is (D:\folder\) as it's working path, instead of it's own game folder (D:\folder\Source\Game1\)
- This gives lots of errors ofcause... the game exe file somehow gets copied out into the same folder as the form exe is located o.O
- Is this normal when starting Programs or is there a way to determan with path my executed program should be loaded from?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement