[Gretl-devel] environment variables in gretl script

Sven Schreiber svetosch at gmx.net
Fri Apr 13 11:55:28 EDT 2007


Allin Cottrell schrieb:
> On Thu, 12 Apr 2007, Sven Schreiber wrote:

>>
>> But I'm afraid the trailing space cannot be used as a workaround 
>> in many cases. Actually AFAIK Windows can also digest forward 
>> slashes internally as path separators...
> 
> Internally, yes, but I don't think command.com can handle them.
> 

Hm, I'm no expert on this, but this is taken from
http://gnuwin32.sourceforge.net/install.html:

<quote>
Path separators

The MS-Windows command interpreters, command.com and cmd.exe, understand
both the backward slash '\' (which is the default) and the forward slash
'/' (such as on Unix) in filenames. In general, it is best to use
forward slashes, since some programs internally use the filename, e.g.
to derive a directory name, and in doing this rely on the forward slash
as path separator.
</quote>

So maybe still worth a try?

-sven



More information about the Gretl-devel mailing list