|The following command is one that renames and moves,|
for /f "delims=" %%A in ('dir /a-d /b /tc "*.PDF"') do (
move "%%A" "%%~nA\!file!"> nul
Can this command not be tweeked to achive my goal?
all i want to do is change the name of a file to match the directory it is in.
If anyone can suggest any good reading material so i can help myself