[Starkit] Why doesn't tclkitsh recognize mkdir?

Rilling, Brett B BRILLING at amfam.com
Fri Jul 14 13:45:04 CEST 2006


Hello all quick question ;)
Meta data:
tclkitsh 8.4.13 
Windows XP
 
Why doesn't tclkitsh recognize mkdir?
 
When I run this script:
tclkitsh backup.tcl
-----------------------------------------
mkdir Backup
set readme [open readme.txt" "w+"]
puts $readme "This is the readme file"
puts $readme "$env(HOME)"
close $readme
exit
-----------------------------------------
 
I get the following error:
-------------
invalid command name "mkdir"
    while executing
"mkdir Backup"
    (file "backup.tcl" line 1)
--------------
 
However I can successfully initiate tclkitsh first and then type "mkdir
backup" directly into it.
 
Thanks in advance.
 
Brett Rilling
brilling at amfam.com
American Family Unix Team
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.equi4.com/pipermail/starkit/attachments/20060714/b736a0d3/attachment.htm


More information about the Starkit mailing list