How can I rename all files in a folder using command prompt?
--For rename all html file to text file
ren *.html *.txt
--for rename all file including extra character
ren *.txt *_1.txt
---rename only first 3 character which is 123 and change to abc
ren 123*.txt abc*.txt
-- if you want to get only first 5 char of your file name ren *.txt ?????.txt -- if you want to remove first few char ren "abc*.txt" "///*.txt" --remove one char for each /
-- if you want to get only first 5 char of your file name
ReplyDeleteren *.txt ?????.txt
-- if you want to remove first few char
ren "abc*.txt" "///*.txt" --remove one char for each /