Do you Windows ppl remember the batch files?
They still work, even with drag&drop…
Ooh… the good old times when the quick brown fox jumped over the lazy dog… (this is a Mac thing)
Can you share some Magic you did with them?
.bat
Re: .bat
Put these 5 characters in a batch script and run it. Be ready to kill it or reboot though, this is a fork bomb and will waste your RAM.

Code: Select all
%0|%0

Re: .bat
Just tried it in the Windows Sandbox and I see what you mean!Quin wrote: Mon Feb 17, 2025 2:09 pm Put these 5 characters in a batch script and run it. Be ready to kill it or reboot though, this is a fork bomb and will waste your RAM.Code: Select all
%0|%0
![]()

- NicTheQuick
- Addict
- Posts: 1519
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: .bat
Forkbombs also exist in other programming languages. In Bash (one of the equivalents of Batch for Linux) it looks like this:
On the German Wikipedia article there are also a few others: https://de.wikipedia.org/wiki/Forkbomb
Code: Select all
:(){ :|:& };:
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: .bat
On batch, not only the RAM : the file system can be exploded also. I won t present anything here...
Code: Select all
@echo off
cls
pause
myPurebasicProgram.exe
if %errorlevel% neq 0 goto qqch
goto fin
:qqch
echo End anything detected !
:fin
Re: .bat
Before Fred banning us all, please let's revert to celebrating .bat files' support for drag&drop!!!
Last time I used them was with DOS…
I mean, before a recent, disappointing "ffmpeg piping batch processing test" (but I must say the output file renaming was piece of cake…)
"Shell":
Last time I used them was with DOS…
I mean, before a recent, disappointing "ffmpeg piping batch processing test" (but I must say the output file renaming was piece of cake…)
"Shell":
Code: Select all
ffile=pippo.pip
noext=${ffile%.*}
ext=${ffile##*.}
echo "${noext}_LM.${ext}"
Re: .bat
You can't extract/store regex match substring only the whole carriage-return string that contains a match, which extremely limits everything you can do with batch single-handedly.. Then there are a lot of ACL based bugs around SMB, FTP, and LDAP stuff you can do from CMD which makes it useless in enterprise without a lot of icacls stuff you can't automate because the substring problem..
I don't understand why if you can copy-paste a better windows 11, Linux, cure for cancer, or MacOS from any AI prompt why they can't just fix this stuff?
I don't understand why if you can copy-paste a better windows 11, Linux, cure for cancer, or MacOS from any AI prompt why they can't just fix this stuff?
