IMHO this has no reason to work because you add this, or the myprog.exe is bad designed.
note : since 'C:\myprogdir' is in %PATH%, there's no need to write it in the command line.
fine the update.ini. If you were to do:
C:> set path=%path%;C:\myprogdir C:> cd somedir C:\somedir> C:\myprogdir\myprog.exe
then it would be able to find update.ini because of the way DOS (and therefore windows) works..
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com