91Views5Replies

Author Options:

batch files Answered

can you get a batch to send itself over the internet

5 Replies

user
azid (author)2007-06-18

Raptor im trying to mess with my friend whats an easier way to do it]\

Select as Best AnswerUndo Best Answer

user
Rapt0r9 (author)2007-06-11

Well, there is a lot of factors that play into this. Batch files have much simpler purposes, such as facilitating tedious tasks. They aren't designed to have complex logic. They are good at interfacing with DOS software, so you may want to write a simple executable in a language of your choice, and call that from the batch file. The executabe would do the work of sending the folder containing the executable and the batch file. If you have a batch file that screws with user settings or something like that, and you just want to send it to your friend to mess with them, there are other easier ways.

Select as Best AnswerUndo Best Answer

user
Rapt0r9 (author)2007-06-08

You want the file to move its self to another machine?

Select as Best AnswerUndo Best Answer

user
azid (author)Rapt0r92007-06-11

yes and to a specific folder

Select as Best AnswerUndo Best Answer

user
NachoMahma (author)2007-06-08

. You don't give much info, but, in general, here's what I'd do.
. Write a batch/script file that will issue commands to an FTP client. Something along the lines of:
myFTPclient.exe /send /f:myFileName
. See the docs for your FTP client to see what the proper command would be.

Select as Best AnswerUndo Best Answer