New
#1
Batch renaming files fails, error "the system cannot find file..."
Hi all,
I'm trying to rename files with batch file "bulkrename.bat", that is generated by a short program made with Visual Foxpro 9.0.
Here is the source code of Foxpro program:
TV recordings renamed with XML metadata tag
And here is generated "bulkrename.bat":
------------------- snip ----------------------
RENAME "D:\Data\TV_Database\Test_data\Silmänräpäyksiä @ SE social_political issues_economics (general) - 2016-08-01-20_57 -Yle Fem.ts" "Silmänräpäyksiä @ (Sarjan lyhyet tietoiskumaiset elokuvat t...elevat maailman ilmiöitä lähikuvassa.) SE social_political issues_economics (general) - 2016-08-01-20_57 -Yle Fem.ts"
RENAME "D:\Data\TV_Database\Test_data\Silmänräpäyksiä @ SE social_political issues_economics (general) - 2016-08-01-20_57 -Yle Fem.xml" "Silmänräpäyksiä @ (Sarjan lyhyet tietoiskumaiset elokuvat t...elevat maailman ilmiöitä lähikuvassa.) SE social_political issues_economics (general) - 2016-08-01-20_57 -Yle Fem.xml"
------------------- snip ----------------------
The batch file fails with error messages
"the system cannot find file specified"
However if I copy-paste individual command lines into Win7 Command Prompt windows, file renaming works just fine. What is the difference with batch window and Command Prompt window?
I tried to run batch file with Administrator rights with no luck.
Path + filename are max. 200 characters.
I also tried to manually remove characters like ( ) but that didn't help.