•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 402,049 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,554 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser: Programming Forums
Views: 170 | Replies: 1 | Solved
![]() |
•
•
Join Date: Feb 2008
Posts: 40
Reputation:
Rep Power: 1
Solved Threads: 0
Hi i got an executable file which uses an .ini file, while they both are in the same directory all works fine.
The problem is that i must separate them and make a batch file that will call the executable and also will direct the executable where to find its .ini file,
I know that when a shortcut is made , one can set the "Start In" which will direct the executable where to search for its needed files, but how can i define this "Start In" inside a batch file?
I did try setting PATH inside the batch file, but it doesn't worked out....
Any suggestion?
Thanks ahead!
Daniel.
The problem is that i must separate them and make a batch file that will call the executable and also will direct the executable where to find its .ini file,
I know that when a shortcut is made , one can set the "Start In" which will direct the executable where to search for its needed files, but how can i define this "Start In" inside a batch file?
I did try setting PATH inside the batch file, but it doesn't worked out....
Any suggestion?
Thanks ahead!
Daniel.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the Windows NT / 2000 / XP / 2003 Forum
- Previous Thread: Can I port my XP?
- Next Thread: Unable to right click and create new text file?


Linear Mode