Batch File to Remotely Install Software with Wget

Create A Batch File with Wget and run it.

I had to create a Windows batch file to remotely download a file and then run it the computer.  Here is the the Code:

@echo off
mkdir c:\file
powershell -command “start-bitstransfer -source -destination C:\file\file.exe”
del c:\file\file.exe
rmdir c:\file

The Above code “Batch Files Wget” will download and then run the executable file within windows.

Share this post: