To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 5028
5027  |  5029
Subject: 
Re: Is there a standard syntax?
Newsgroups: 
lugnet.off-topic.geek
Date: 
Wed, 29 Jun 2005 22:55:11 GMT
Viewed: 
2145 times
  
In lugnet.off-topic.geek, Dave Schuler wrote:
Hi All:

I know next to zilch about programming, even in DOS, so this question is asked
in ignorance and good faith.

If I'm writing a .bat program to copy a file from a known, static location on
the web, is there a standard format by which the hyperlink is referenced?
Specifically, if I'm copying the file c:\doofus\dolt.txt, I know how to refer to
it, but if it's http://www.dolt.com/doofus/dolt.txt, I don't know how to point
the .bat file to the location.

Any help is appreciated.  Alas, I need to write this as a DOS-friendly .bat
because that's the job as its been handed to me.

Dave, I'm pretty sure you can't do it without an external program. If you have
FTP access to the file, you can use the command-line ftp program included with
most msdos versions, otherwise you will need a non-dos program, I would
recommend GNU wget, which you can find here http://www.gnu.org/software/wget/
but there may be others around.

Don't ask how I got this assignment...

OK!

ROSCO



Message has 1 Reply:
  Re: Is there a standard syntax?
 
(...) After I left work last night I realized that my formulation of the question was really feeble, so here's some more info, if it helps. I guess it's not *really* DOS but is intead a DOS shell running on Windows XP. In my former department I used (...) (19 years ago, 30-Jun-05, to lugnet.off-topic.geek)

Message is in Reply To:
  Is there a standard syntax?
 
Hi All: I know next to zilch about programming, even in DOS, so this question is asked in ignorance and good faith. If I'm writing a .bat program to copy a file from a known, static location on the web, is there a standard format by which the (...) (19 years ago, 29-Jun-05, to lugnet.off-topic.geek)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR