ms dos - How to rename multiple file names through Ms-dos command -


How to add a string (100000) to multiple file names through MS-DOS commands.

I have multiple files stored in a single file (customer, address, post_array..etc) etc. I want to add 100000 string for these file names below.

  100000_customer.txt 100000_address.txt 100000_posrtal_area.txt  

How to do this single dos command? Is this possible?

Many thanks for your help.

Sunitha.

Try this command

  ren "* .txt" "100000 _ *. Txt"  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -