Page 1 of 1

modern day append command?

Posted: 16 May 2012 19:42
by taripo
I recall APPEND, it if I recall, was like PATH but for data files

I'd like to be able to do ftp -s:myscript.ftp Where that file is at some path I don't want to have to type, and where lots of bat files are so is in my PATH. I just want it to act as it does for bat files, but with other data files, like, myscript.ftp

I tried typing append<ENTER> but

There is an append.exe but I think it's not meant to be used..
C:\dfd>append
C:\DFD>
that makes me think 8.3 time -don't want that, .. Or like command.com(also all capitals) rather than cmd.exe we're meant to use. I am in cmd.exe of course.
Though I can do long filenames in that mode(so it's not 8.3), I see tab completion isn't working.. I see it's append.exe not append.com so it's not that old.. But still looks like that APPEND command is messed up and perhaps not meant to be used? I see it's not listed in XP's HELP either.

But i'm hoping for a modern day append command.. Is there one?

Re: modern day append command?

Posted: 17 May 2012 01:11
by foxidrive
taripo wrote:I'd like to be able to do ftp -s:myscript.ftp Where that file is at some path I don't want to have to type


It is even shorter to type ftpgo

Code: Select all

:: ftpgo.bat
@echo off
ftp -s:"c:\type your path just once\myscript.ftp"

Re: modern day append command?

Posted: 17 May 2012 01:21
by taripo
yes I know, though e.g. that's 2 files. Or I could make one bat file and ECHO stuff to a TEMP file that is a generated ftp script, and do ftp -s within the bat file, on the generated ftp script.

I may do something like one of those 2 options, if I can't find an append command. I think append is more elegant. And i'm interested in using something like append. It was a nice useful command from back in the day.