Directory.move() question

Worrow

Well-known member
Joined
Jul 10, 2003
Messages
67
Is it possible to use Directory.move() with toupper/tolower function to uppercase/lowercase a directory? File.move() does the job fine (for files) but this one give me an error message says "source and destination must be different". Any alternative here (beside extra move to temporary name)?

Thanks in advance.
 
Doesnt look like it. Just rename the original to a temp name, create the new one and move the files and folders in the original.
 
Thanks for your reply. At least now I feel a bit more comfortable with the "temp var" way.
 
Back
Top