How can I download a file with batch file without using any external tools?

The answers.All scripts should be saved with .bat/.cmd extensions and can be used directly as batch scripts. Certutuil (for some reasons in the newest win10 builds this is recognized as trojan thread ):certutil.exe -urlcache -split -f “https://download.sysinternals.com/files/PSTools.zip” pstools.zip for easiness a macro can be used: CertUtil command can be abused to download a file from internet.Available by default in … Read more

CALL command vs. START with /WAIT option

For exe files, I suppose the differences are nearly unimportant.But to start an exe you don’t even need CALL. When starting another batch it’s a big difference,as CALL will start it in the same window and the called batch has access to the same variable context.So it can also change variables which affects the caller. START will create a new cmd.exe for the … Read more

How does the echo command works in batch programming

The ECHO command in Windows CMD is used to print out text to the screen, display the actual setting of the Command-line which means when you do: The “C:\Users[User]” line before your command input will disappear. You can restore it with: Here all functions of ECHO explained: @echo [on/off] (to set the command-line settings) echo [text] (to print text … Read more