Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Downloading Multi-files from web using powershell and batch by Hackoo

Hi ✌
I reply here to a guy on superuser.com site : Batch Script using Powershell to download from the web
Here is an example that i made to download some batch codes from a file that can be created if not exist, and of course you can add what you want of urls in this file !
I added a function in powershell to show you a balloon Tip while downloading those files.
So just give a try and tell me the result on your side !

Multi_Downloading_Files.bat
Multi_Downloading_Files.bat (Click to View)
How exactly does this work ? Do i change the URL'S to download from another source. Can i only download the url's ?
(Aug 21, 2017 07:44 AM)Baldman Wrote:  How exactly does this work ? Do i change the URL'S to download from another source. Can i only download the url's ?
Yep 😉 of course you can !
Firstly, the script check for the text file named Urls.txt if exist in same location where this batch is executed and read from it the urls line by line to download them !
So, if you want to change those urls to yours, just change it from the text file Urls.txt not from the batch, i mean you can create a text file and name it to Urls.txt and put what you want as urls on this file line by line of course and let the script do its job 👍
LoadWithPartialName been deprecated use Add-Type
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
Nice use of .dispose at the end 😏

Looks like a nifty little script you have there. I can see this being used in conjunction with other scripts to create some kind of background downloader. Neat.
[Image: pia_banner_3.png]
This looks great, please check your PM!
Very interesting, thanks for sharing!
and this could be done by a one line wget/curl command in terminal


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Robert RougeSep 24, 2026 10:02 AM 4 220 Sep 24, 2026 10:02 AM
Last Post: Anonynuk
[.NET] by samir5000Mar 13, 2025 01:32 PM 3 328 Mar 13, 2025 01:32 PM
Last Post: Bastille
[Shell] by PELockDec 9, 2024 09:42 AM 3 661 Dec 9, 2024 09:42 AM
Last Post: PELock