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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -