Peter Gerwinski a écrit:
Do paths containing environment variables like `$DJDIR' work in general under UNIX or UNIX-like platforms such as DJGPP?
if you run under bash shell OK, you can type a command like $DJDIR/bin/perl under plain DOS COMMAND.COM shell it doesn't work at all. only inside a .BAT command file you can have e.g.: %DJDIR%\bin\perl or type %DJDIR%\djgpp.env or even MyProg %DJDIR% if in MyProg you recover the argument with s:=paramstr(1); you recover the _content_ of environment variable DJDIR in string s. otherwise in the argument of a program e.g. myprog.exe $DJDIR/toto it rests to the program Myprog to parse the first argument and call s:=getenv(DJDIR); to get the content of environment variable DJDIR Hope it helps -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto: Maurice.Lombardi@ujf-grenoble.fr