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.

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by vedmack
0

start "title" /D "path" "executable name"

That is the trick!!!! :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.