I'm a newcomer to the DOS prompt and to making batch files, and I'm wondering if there are any particularly good things I can do with it in this day and age of GUIs. The only really useful one I've made so far forces DEL into interactive mode, without entering the option yourself. I've found a copy of Conway's Life rendered completely in DOS commands, but that's not quite my style.
Any recommendation?
Make a tool that prefixes files in a folder with something, or suffixes, or changes something.
>prefixes files in a folder with something
ren [drive:][path]. prefix*.*
if that's actually made a batch file, then:
ren [drive:][path]%1 %2%1
Where %1 and %2 are arguments passed to the batch file.
I decided to write that "guess a number between 1 and 100" game in a batch file. It's fun, and I'm figuring out how to use set like scanf.
Why batch files?
Why the DOS prompt? There are much better shells available for Windows, like PowerShell.