Quote:
> I've tried to use exec in Win98, but it doesn't seem to work.
> for example, i tried the following line
> set d [exec date]
> I get an error message "Couldn't exec "date": no such file or directory"
> I know this works fine in Linux.
> Any suggestions?
The exec command runs a native executable. You don't have the same
executables
on Windows NT that you're used to on Linux. You can look for
alternative NT
executables, like those available from Mks. Or, even better, you can
often use
Tcl-isms to get the same job done. Like:
set dateString [clock format [clock seconds]]
set fileList [glob *.tcl]
Bob
--
Mayo Foundation (507) 284-2702
Rochester MN, 55905 USA http://www.mayo.edu/sppdg/sppdg_home_page.html