- Joined
- Jun 24, 2012
- Messages
- 1
- Reaction score
- 0
Hi,
I need help with using cmd.
Let me explain situation,
I have created c++ program which runs cmd script which is in folder with SDK of game.
If program's not in same folder as cmd script, script complains that it hasn't found some files, which are actually in the same folder as it is.
But if I run script manually or copy my program in folder with script and other files, everything is ok
Is there any trick I could use to re-write my script, so it actually understands where it is?
Script ain't complicated, just launching some files in specified modes.
Thank you!
I need help with using cmd.
Let me explain situation,
I have created c++ program which runs cmd script which is in folder with SDK of game.
If program's not in same folder as cmd script, script complains that it hasn't found some files, which are actually in the same folder as it is.
But if I run script manually or copy my program in folder with script and other files, everything is ok
Is there any trick I could use to re-write my script, so it actually understands where it is?
Script ain't complicated, just launching some files in specified modes.
Thank you!
Last edited: