Scripting Help requested ...

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 :confused:

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:

Shintaro

Moderator
Joined
Mar 1, 2012
Messages
2,134
Reaction score
252
What is the script written in??
Sounds like a simple relative pathing problem.

At any point we would need to see the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top