Below the sample i tried and didn't work.
Code: Select all
Ren "\\178.70.140.230\Development\Company\*.txt" "*.bak"
but it's not changing the extension Any suggestion please how to achieve this.
Moderator: DosItHelp
Code: Select all
Ren "\\178.70.140.230\Development\Company\*.txt" "*.bak"
Code: Select all
pushd "\\178.70.140.230\Development\Company\"
ren *.txt *.bak
popd
born2achieve wrote:I have bat file and i need to rename files in the folder of one server from another server.
Below the sample i tried and didn't work.Code: Select all
Ren "\\178.70.140.230\Development\Company\*.txt" "*.bak"
but it's not changing the extension Any suggestion please how to achieve this.
Code: Select all
ren "\\Server\Share\Squashman\rename\*.txt" *.bak