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

Author Topic: .bat send file  (Read 6676 times)

0 Members and 1 Guest are viewing this topic.

Droppen

  • Guest
.bat send file
« on: August 08, 2004, 08:42:51 AM »
How can i send a file with .bat to other comp moast easy ???

johnwill

  • Guest
Re: .bat send file
« Reply #1 on: August 08, 2004, 12:48:53 PM »
copy test.txt \\standby\c\test.txt

This command just copied the TEST.TXT file from my local machine's current directory to my machine named STANDBY, the shared drive C, and named it test.txt there too.

Just like a local copy with network path as the destination.

Droppen

  • Guest
Re: .bat send file
« Reply #2 on: August 09, 2004, 02:42:37 AM »
but cant you just send it like e-mail to ip? :-/

Droppen

  • Guest
Re: .bat send file
« Reply #3 on: August 09, 2004, 06:18:36 AM »
how can i copy 2 txt's in to one? with  batch?

Droppen

  • Guest
Re: .bat send file
« Reply #4 on: August 09, 2004, 08:18:52 AM »
and how can i use choice?? ???

johnwill

  • Guest
Re: .bat send file
« Reply #5 on: August 09, 2004, 09:12:11 AM »
How about you state your problem fully and in complete sentences.  It's pretty hard to offer a solution without knowing what the real problem is.  ::)

2k dummy

  • Guest
Re: .bat send file
« Reply #6 on: August 09, 2004, 09:15:44 AM »
Quote
how can i copy 2 txt's in to one? with  batch?

copy file1+file2 <newfile>
Can be run from the command line or a batch file
Quote
and how can i use choice??

Choice

Droppen

  • Guest
Re: .bat send file
« Reply #7 on: August 09, 2004, 11:33:27 PM »
i've got lots of problems, choise doesnt seem to work on xp, and "can not find file C:\text.txt+C:\text2.txt"

yeah right

  • Guest
Re: .bat send file
« Reply #8 on: August 11, 2004, 03:02:03 PM »
How can i send a file with .bat to other comp moast easy?
- i would recommend ftp or if you're on a network, put it on a share drive(either one can be done throught batch files

how can i copy 2 txt's in to one? with  batch?
-easy, create a batch file and put this command in it
"type test.txt >> test2.txt"
every time the batch file is run,  the contents of test.txt are added to test2.txt