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

“rm -rf” equivalent for Windows?

RMDIR or RD if you are using the classic Command Prompt (cmd.exe): RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with … Read more

“rm -rf” equivalent for Windows?

RMDIR or RD if you are using the classic Command Prompt (cmd.exe): RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with … Read more