file rename newbie help
- From: massimo.coletti@xxxxxxxxx
- Date: 30 May 2005 09:53:30 -0700
Hi all,
I have a (quite complex) tcl script with the line:
puts "EXIST [file exists $dumpDir]"
file rename $dumpDir $loadDir
and I get the output:
EXIST 0
error renaming "IAS-Finnat_5-1": no such file or directory
while executing
"file rename $dumpDir $loadDir"
(file "e:/cvs/xbrl/cvtdb/upgrade.tcl" line 43)
but the origin directory exists:
$ ls
CP04_5-0_Backup.mdb IAS-Finnat_5-0_ol.mdb IAS-Finnat_5-1.ldb
Prova_5-1.mdb
CP04_5-1.mdb IAS-Finnat_5-1 IAS-Finnat_5-1.mdb
the same behaviour is under Windows (XP) and under cygwin, both at 8.4
Any hint?
Thanks,
Massimo
.
- Follow-Ups:
- Re: file rename newbie help
- From: Massimo
- Re: file rename newbie help
- From: Michael Schlenker
- Re: file rename newbie help
- From: Khaled
- Re: file rename newbie help
- Prev by Date: Re: Unexpected result from [slave alias srcCmd {}]
- Next by Date: Re: file rename newbie help
- Previous by thread: Unexpected result from [slave alias srcCmd {}]
- Next by thread: Re: file rename newbie help
- Index(es):
Relevant Pages
|