Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch File Help  (Read 7271 times)

0 Members and 1 Guest are viewing this topic.

salc

  • Guest
Batch File Help
« on: June 16, 2004, 06:24:10 PM »
Can someone tell me how to create a batch file that will copy a file from one directory then copy it to another directory, however when coping it, the script will rename the file eg. test.txt test1.txt

Fred

  • Guest
Re: Batch File Help
« Reply #1 on: June 17, 2004, 08:07:50 AM »
How about this:
copy "c:\directory1\file1.txt"  "c:\directory2\file2.txt"
copy "c:\directory1\file1.txt"  "c:\directory3\file3.txt"

I presume you do not want to rename the original file.