Is it possible to call an exe from a website through a batch file? i.e. Can I put 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


Please log in to comment



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" C:\Users\YourName\desktop\vlc.exe
Answered 11/06/2013 by: nheyne
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja