Windows 7 Forums


Reply
Thread Tools

Scripting Help requested ...

 
 
MrEARTHSHAcKER MrEARTHSHAcKER is offline
New Member
Join Date: Jun 2012
Posts: 1
Thanked: 0
 
      06-24-2012
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!

Last edited by MrEARTHSHAcKER; 06-24-2012 at 07:17 PM..
 
Reply With Quote
 
 
 
 
Shintaro Shintaro is offline
Established Member
Shintaro's Avatar
Join Date: Mar 2012
Location: Sydney, Australia
Posts: 1,232
Thanked: 147
Send a message via MSN to Shintaro
 
      06-25-2012
What is the script written in??
Sounds like a simple relative pathing problem.

At any point we would need to see the code.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
There is no email program associated to perform the requested action Kev alt.windows7.general 13 12-02-2012 04:27 PM
NAS recommendations requested Wolf K alt.windows7.general 7 08-09-2012 10:25 PM
[SOLVED] Scripting Sidebar Gadgets. Elmer BeFuddled Customization 11 03-21-2011 05:40 PM
MS Office product key requested after restore GLM Windows 7 Support 5 10-07-2010 04:31 PM
Help with Windows scripting or batch file Dick Kimball alt.windows7.general 5 08-31-2010 07:20 PM


All times are GMT +1. The time now is 04:05 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.