bat file rename file specified path

ren "E:\产品\Planning\C1-Planning11\C1-Planning11\target\123" 456

This command is to rename the file 123 456

Note: 456 is the file name without path

Note: Save the file type is ANSI character set, before me is UTF-8, always fails, then execute the bat file from the command window, garbled output path, know the character set issues, found on the Internet will replace the ANSI character set it

 

Guess you like

Origin www.cnblogs.com/hujiapeng/p/10943868.html