Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Dos help with wget linux command

  • Please log in to reply
2 replies to this topic

#1 Alypios


  • Members
  • 4 posts
  • Local time:10:24 AM

Posted 23 June 2014 - 10:54 AM

I'm currently trying to create a batch file using wget to download updated versions of programs that I use on a daily basis. I'm running into trouble downloading files such as adwcleaner. I was trying to find out if there is a way to tell cmd to wait on the popup window from the website (i.e. https://toolslib.net/downloads/finish/1/)  or if there is a way to tell wget to download the updated file regardless of the name (i.e. adwcleaner_3.213 or adwcleaner_3.214) with out having to change the batch file every so often. This is not important at all its just something I found fun to try. Sorry if this is not the right thread to post this topic, I tried to add it to the most appropriate thread. 

BC AdBot (Login to Remove)


#2 Alypios

  • Topic Starter

  • Members
  • 4 posts
  • Local time:10:24 AM

Posted 01 July 2014 - 09:22 PM

Let me add some more information just in case people do not understand. I'm using wget to download .exe files through cygwin attached to command prompt. The code I'm using for example is

wget -N http://media.kaspersky.com/utilities/VirusUtilities/EN/tdsskiller.exe

Works like a charm, but if I were to try downloading adwcleaner from their website I would like to use

wget -N https://toolslib.net/downloads/finish/1/adwcleaner.exe


wget -N https://toolslib.net/downloads/finish/1/awdcleaner_3.214.exe

I don't know how or if it is possible to make wget ignore the name, if I use the later, then this batch file I created would have to be updated after each release. Which then I would just go download it instead of using wget for that file. 

#3 NickAu


    Bleepin' Fish Doctor

  • Moderator
  • 13,540 posts
  • Gender:Male
  • Location: Australia
  • Local time:01:24 AM

Posted 01 July 2014 - 09:49 PM


I was trying to find out if there is a way to tell cmd to wait on the popup window


wget - Linux Command - Unix Command

Edited by NickAu1, 02 July 2014 - 04:09 AM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users