Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
FTP batch: pass in params
Name: narnar2000 Date: June 14, 2004 at 09:44:58 Pacific OS: XP Pro SP1 CPU/Ram: XP2800/1024
Comment:
Hi all,
I need to ftp a file (with a variable filename) to a remote server. I can automate this process with a constant filename, but how do I pass in a filename on the fly?
Say my batch script is called ftpbat. I want to be able to run this:
ftpbat variablefilename
Using %1 etc doesn't work once an ftp session has been opened... And if I put the ftp commands in an ancillary file, I'm unable to pass in the params from ftpbat...
Summary: XP has not dos, but it does have dos emulation. Just type cmd in the Run box. I can't see why this batch would not run, I've run some more complex batch files in xp just fine. ...
Summary: How do you go about running a batch file in recovery console. Do you create a text file on a floppy then type the command "batch A:\{filename}" in the console. I have seen lots of references to this b...