Go Back   Computer Forums > General Computing > Cyber Safety and Computer Security
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-05-2006, 03:04 PM   #1
Beta Member
 
Join Date: Dec 2006
Posts: 3
Default Need help with .bat file

Can anyone please explain how to setup a batch file to not only open a link (internet) to a program or any file, but to automatically download that file and open it? Help is appreciated.
__________________

born2fly is offline   Reply With Quote
Old 12-05-2006, 04:11 PM   #2
In Runtime
 
aff1993's Avatar
 
Join Date: Oct 2006
Posts: 115
Send a message via MSN to aff1993
Default Re: Need help with .bat file

goto a site that tells you DOS commands, google it, then use Notepad, write the code, then click save as write the name of the file then write .bat at the end, hey presto, it works!
__________________

__________________
-=Dont drink and drive, you might just spill the drink=-
-=Excuse me, i think my karma ran over your dogma=-

|--- I have a PC with 2.2ghz Celeron D, 1024MB RAM, Windows Vista Home Premium, 32MB Graphics card, 200GB HDD, 24x DVD Burner ---|
aff1993 is offline   Reply With Quote
Old 12-05-2006, 04:38 PM   #3
Beta Member
 
Join Date: Dec 2006
Posts: 3
Default Re: Need help with .bat file

Quote:
Originally Posted by aff1993
goto a site that tells you DOS commands, google it, then use Notepad, write the code, then click save as write the name of the file then write .bat at the end, hey presto, it works!
I know how to use .bat file.... I asked for an exact command, not how to create a .bat file. But thanks anyways.
born2fly is offline   Reply With Quote
Old 12-05-2006, 04:50 PM   #4
Golden Master
 
DJ-CHRIS's Avatar
 
Join Date: Apr 2006
Posts: 5,203
Send a message via AIM to DJ-CHRIS Send a message via MSN to DJ-CHRIS Send a message via Yahoo to DJ-CHRIS
Default Re: Need help with .bat file

Quote:
Originally Posted by born2fly
Can anyone please explain how to setup a batch file to not only open a link (internet) to a program or any file, but to automatically download that file and open it? Help is appreciated.
You'll need to use the FTP protocol in order to download it.
DJ-CHRIS is offline   Reply With Quote
Old 12-05-2006, 04:55 PM   #5
Beta Member
 
Join Date: Dec 2006
Posts: 3
Default Re: Need help with .bat file

Well, I set it to open the link, but it prompts to Save or Run. Is there any possible way for it to Run automatically without it prompting?
born2fly is offline   Reply With Quote
Old 12-05-2006, 07:40 PM   #6
Golden Master
 
DJ-CHRIS's Avatar
 
Join Date: Apr 2006
Posts: 5,203
Send a message via AIM to DJ-CHRIS Send a message via MSN to DJ-CHRIS Send a message via Yahoo to DJ-CHRIS
Default Re: Need help with .bat file

Their is a way with the FTP command, but after your logged into the FTP i dont know how to run commands
__________________

DJ-CHRIS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0