Computing.Net > Forums > Programming > Batch Help

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.

Batch Help

Reply to Message Icon

Name: adam01
Date: September 6, 2007 at 12:19:36 Pacific
OS: xp
CPU/Ram: intel centrino dual
Product: dell
Comment:

Hi, can you make a batch file request some code off a website?

could this help:

for /f "delims=" %%a in (http://www.site.com/file.txt) do set %%a

also can someone expain the code above please.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: September 6, 2007 at 14:19:24 Pacific
Reply:

First you need the page.

Try wget.exe


=====================================
If at first you don't succeed, you're about average.

M2



0

Response Number 2
Name: adam01
Date: September 8, 2007 at 05:48:26 Pacific
Reply:

Its not just me whoes using this file, can i make it so other users dont have to download wget.

what about the code i posted?


0

Response Number 3
Name: Mechanix2Go
Date: September 8, 2007 at 06:14:56 Pacific
Reply:

"what about the code i posted?"

If you try it, I think you'll see that it doesn't do anything useful.


=====================================
If at first you don't succeed, you're about average.

M2



0

Response Number 4
Name: adam01
Date: September 8, 2007 at 06:17:40 Pacific
Reply:

That code was what someone said to use for the batch file getting strings from another file.


0

Response Number 5
Name: Mechanix2Go
Date: September 8, 2007 at 06:34:51 Pacific
Reply:

Sure, but you need to HAVE the file.


=====================================
If at first you don't succeed, you're about average.

M2



0

Related Posts

See More



Response Number 6
Name: adam01
Date: September 8, 2007 at 06:58:08 Pacific
Reply:

?
I know that, i was just ASKING if that would work.


0

Response Number 7
Name: Mechanix2Go
Date: September 8, 2007 at 07:23:04 Pacific
Reply:

I didn't know if it would work. So I tried it.


=====================================
If at first you don't succeed, you're about average.

M2



0

Response Number 8
Name: adam01
Date: September 8, 2007 at 08:17:34 Pacific
Reply:

Ok then, I dont know anything about "for" codes.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch Help

XCOPY - Batch Help www.computing.net/answers/programming/xcopy-batch-help/10929.html

Batch help - FTP but code cycles? www.computing.net/answers/programming/batch-help-ftp-but-code-cycles/15651.html

Batch Help www.computing.net/answers/programming/batch-help/5335.html