Won`t Work!
|
|
Remember that is a special character in Tcl.
This is a problem because Windows uses a backslash for separating directories, while Unix uses a forward slash.
So, in Tcl and in the Tcl shell, wish, you need to enter directories and paths with either two backslashes, e.g., \, or with the
Unix-style forward slash, e.g., /.
For example, don`t use:
$dir$filename
Use either:
$dir\$filename
or:
$dir/$filename
You can use the file join command to put file and directory names together using the native format.
|
|
|