/build/static/layout/Breadcrumb_cap_w.png

Installing software direct from website through batch file.

Is it possible to call an exe from a website through a batch file? i.e. Can I put http://get.videolan.org/vlc/2.1.0/win32/vlc-2.1.0-win32.exe into a batch file line to be run when I run the batch file? I've a number of bits of software to install and I'd like to call this as well. Is it possible? Do I need other code round it?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: nheyne 10 years ago
Red Belt
0

You can do it with BITS, but not with the URL you provided since it is actually a redirect.  Click on the link to show the mirrors and get the actual URL of the file.  In this case, here is what I came up with that worked for me (the "JobName" is a variable that you can edit):

bitsadmin.exe /transfer "JobName" http://ftp.osuosl.org/pub/videolan/vlc/2.1.0/win32/vlc-2.1.0-win32.exe C:\Users\YourName\desktop\vlc.exe
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ