[Starkit] Why doesn't tclkitsh recognize mkdir?
Rilling, Brett B
BRILLING at amfam.com
Fri Jul 14 14:12:49 CEST 2006
Ah Ha!
file mkdir Backup
did the trick.
Thanks guys.
-----Original Message-----
From: starkit-bounces at equi4.com [mailto:starkit-bounces at equi4.com] On
Behalf Of Rilling, Brett B
Sent: Friday, July 14, 2006 12:45 PM
To: starkit at equi4.com
Subject: [Starkit] Why doesn't tclkitsh recognize mkdir?
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/fa6ffc67/attachment.htm
More information about the Starkit
mailing list