modern day append command?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
taripo
Posts: 208
Joined: 01 Aug 2011 13:48

modern day append command?

#1 Post by taripo » 16 May 2012 19:42

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?

foxidrive
Expert
Posts: 6033
Joined: 10 Feb 2012 02:20

Re: modern day append command?

#2 Post by foxidrive » 17 May 2012 01:11

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"

taripo
Posts: 208
Joined: 01 Aug 2011 13:48

Re: modern day append command?

#3 Post by taripo » 17 May 2012 01:21

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.

Post Reply