Your recursion code is ok - you have to specify the path for "rename":
rename( $PWD . "\\" . $DirItem, $PWD . "\\" . $Formatted );
In reply to Re: Directory recursion on win32
by fglock
in thread Directory recursion on win32
by fourmi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |