Re: Difference between cwd and cd

From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Wed Jul 06 2011 - 08:59:30 CDT

>
>
> cwd is not a tcl command.
>
>
No, but one can put it in the conf file. So is this just
for backwards compatibility? In almost all cases it's probably better to
just use cd (aha, unless of course one does not have NAMD compiled with
TCL).

Best regards,
Ajasja

*
*
*cwd *[image: $ <$] default directory [image: $ >$]
*Acceptable Values: *UNIX directory name
*Description: *The default directory for input and output files. If a value
is given, all filenames that do not begin with a / are assumed to be in this
directory. For example, if cwd is set to /scr, then a filename of outfile would
be modified to /scr/outfile while a filename of /tmp/outfile would remain
unchanged. If no value for cwd is specified, than all filenames are left
unchanged *but are assumed to be relative to the directory which contains
the configuration file given on the command line*.
http://www.ks.uiuc.edu/Research/namd/2.8/ug/node13.html#SECTION00062100000000000000

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2012 - 23:20:32 CST