rename failure
Posted: 03 Feb 2021 14:42
Hi can anyone tell me why this command does not work
rename "\\Bon2\D\LR Safe-Bon2\*.*" "\\Bon2\D\LR Safe-Bon2\FH - %fstamp%.*"
It gets rejected as the Syntax of the command is incorrect.
The paths shown are correct, and the variable fstamp shows correctly when Echo is used. But in any even it says the Syntax is wrong, not the path.
I've stared at this for ages, but cant see what I'm doing wrong.
Hope someone can help.
rename "\\Bon2\D\LR Safe-Bon2\*.*" "\\Bon2\D\LR Safe-Bon2\FH - %fstamp%.*"
It gets rejected as the Syntax of the command is incorrect.
The paths shown are correct, and the variable fstamp shows correctly when Echo is used. But in any even it says the Syntax is wrong, not the path.
I've stared at this for ages, but cant see what I'm doing wrong.
Hope someone can help.