move( "$basedir/$olddir", "$basedir/$newname" ) or die $!;
Another piece of generic advice: use strict and warnings
In reply to Re: renaming subdirectories on MS Windows
by toolic
in thread renaming subdirectories on MS Windows
by momo33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |