Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at

hpr3740 :: Batch File Variables; Nested Batch Files

More on DOS. This time it is using variables in batch files, and nesting batch files.

<< First, < Previous, , Latest >>

Thumbnail of Ahuka
Hosted by Ahuka on 2022-12-02 is flagged as Clean and is released under a CC-BY-SA license.
DOS, early PC computing, batch files, variables, nesting. 2.
The show is available on the Internet Archive at:

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:12:10


DOS is a general acronym for "Disk Operating System", though it came to refer to the operating system used in the IBM PC, particularly Microsoft's MS-DOS.

This final episode of the DOS series continues the look at batch files by first looking at how you can use variables in writing your batch files. Then we look at how batch files can be nested, that is, how one batch file can call another batch file, thus chaining batch files together.


Subscribe to the comments RSS feed.

Comment #1 posted on 2022-09-01 02:29:02 by Hipernike


Thank you very much Ahuka for this interesting serie. I really enjoyed learning about this old OS.

Also I wanted to add that you can use call command to create a forkbomb, using a file like this: @echo off :top call %0 goto top

Comment #2 posted on 2022-09-01 19:50:13 by Kevin O'Brien

You are most welcome

I'm glad you liked it. It sems that people enjoy this series for the most part.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?