Re: Renaming a directory to all uppercase on Windows?
- From: APN <palmtcl@xxxxxxxxx>
- Date: Thu, 11 Dec 2008 02:48:49 -0800 (PST)
On Dec 11, 3:33 pm, "Donal K. Fellows" <donal.k.fell...@xxxxxxxxx>
wrote:
walton.p wrote:
But, of course, this is a hack. And it takes twice as long. Am I
missing something?
No. It's how life is on Windows. (You have the same restriction in
Explorer too.)
Donal.
Nope, Explorer will allow you to change the case of a file/dir name,
at least on XP.
The basic issue is that the file rename command sees FOLDER exists
(actual name folder) and as per its documented behaviour assumes you
are trying to move the source file into that directory. Given the
source is folder itself, it complains about moving a directory onto
itself.
IMHO, the semantics of "file rename", which probably came from the
unix mv command, are broken. But it is behaving as documented.
/Ashok
.
- Follow-Ups:
- Re: Renaming a directory to all uppercase on Windows?
- From: walton . paul
- Re: Renaming a directory to all uppercase on Windows?
- References:
- Renaming a directory to all uppercase on Windows?
- From: walton . paul
- Re: Renaming a directory to all uppercase on Windows?
- From: Donal K. Fellows
- Renaming a directory to all uppercase on Windows?
- Prev by Date: Re: Sourcing a TCL file from within a tcl file
- Next by Date: ANNOUNCEMENT itcl 4.0b1
- Previous by thread: Re: Renaming a directory to all uppercase on Windows?
- Next by thread: Re: Renaming a directory to all uppercase on Windows?
- Index(es):
Relevant Pages
|