Skip to content

Instantly share code, notes, and snippets.

View thepwrtank18's full-sized avatar
😪
tirrrreeed

TheTank20 thepwrtank18

😪
tirrrreeed
  • Skibidi Enterprises, LLC
  • glitched hell
  • 13:59 (UTC -04:00)
View GitHub Profile
@WitherOrNot
WitherOrNot / tmogged.cmd
Last active September 9, 2026 02:47
i'm sorry dave
<# :
:: I wonder who made Task Manager...
@setlocal DisableDelayedExpansion
@echo off
echo "%*" | find /i "-el" >nul && set _elev=1
set _PSarg="""%~f0""" -el
@thepwrtank18
thepwrtank18 / batchfile.md
Last active July 26, 2021 04:14
Batchfile Tips and Tricks

Batchfile

Want to make .bat (or .cmd) scripts? This is for you!

Simple stuff

These are the simple stuff, but very useful.

echo

echo is basically the console.log or console.WriteLine of Batchfile. It is important to put @echo off (or echo off if that doesn't work) on the first line of your script.

Input: echo Never