Category Archives: MS-DOS

How to Play Classic DOS Games for Free

There’s something magical about classic DOS games. Whether it’s the nostalgia of 8-bit graphics, the charm of MIDI soundtracks, or the thrill of revisiting your childhood favorites, DOS games hold a special place in the hearts of many gamers. The good news is, you can relive those memories and play these classic games for free! Here’s a comprehensive… Read More »

For Loop in DOS Batch

In batch scripting, you can use a for loop to iterate over a set of values or files. The for loop in batch files has different variations, such as for /F, for /R, and for %%variable. I’ll show you an example of a basic for loop using the for %%variable syntax.

Using @ in Batch Files

In a batch file, the at sign (@) is used as a prefix before a command to suppress its output from being displayed on the console. When a command is prefixed with an at sign, only the output generated by the command is hidden, while the command itself is still executed.

Grabbing System Date in a Batch File

Batch programming can be a powerful thing. Basically, anything you can run at a command prompt can be run in a batch file. Coupled with task scheduler, process automation nirvana can be achieved. However, one thing that is conspicuously is the presence of a date or time variable. For example, if you wanted to date or time encode… Read More »

Automation with Batch Files

If you’re familiar with MS-DOS at all, you’ll recall that it’s a command-driven operating system that performs functions issued at the C:> prompt. The only way to get an MS-DOS computer to do something was to type a command at this prompt and if you can imagine, it was a rather cumbersome way to use a computer.