DosTips.com

A Forum all about DOS Batch
It is currently 04 Dec 2016 02:10

All times are UTC-06:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 16 May 2012 19:42 
Offline

Joined: 01 Aug 2011 13:48
Posts: 204
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?


Top
   
PostPosted: 17 May 2012 01:11 
Offline
Expert

Joined: 10 Feb 2012 02:20
Posts: 6033
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"


Top
   
PostPosted: 17 May 2012 01:21 
Offline

Joined: 01 Aug 2011 13:48
Posts: 204
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Bing [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited