Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

how to create copies of txt files with a part of the content changed n


  • Please log in to reply

#1
muddogs

muddogs

    New Member

  • Member
  • Pip
  • 2 posts
I like to make multiple copies of the same txt file but have one number in the file changed.

e.g.

original file1.txt reads "this is person 1"

I need file2.txt to read "this is person 2", file3.txt to read "this is person 3" etc...

To run in cmd as a batch file preferably.
  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,889 posts
Hi :welcome:

Do you want to copy files or generate new ones with the text (simpler)?
  • 0

#3
muddogs

muddogs

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
I want to make copies of the original file, with change in filename and content (serialized number).
  • 0

#4
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,889 posts

I want to make copies of the original file, with change in filename and content (serialized number).


For Search and Replace using a batch file check this
http://www.dostips.c....findandreplace
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP