I have DOSBox.
Here's a list of DOS commands and their functions: http://en.wikipedia.org/wiki/List_of_DOS_commands
Offline
Here's an example program.
@echo off
title Game
echo 1) Play
echo 2) Quit
set /p mainchoice=
if %mainchoice%==1 goto :Play
if %mainchoice%==2 exit
:Play
echo 1) Buy ice cream
echo 2) Jump into the pool
set /p secondchoice=
if %secondchoice%==1 set inventory=ice cream
if %secondchoice%==1 goto :jumpinpool1
:jumpinpool1
(Case has to match. Don't forget the :, because then it won't register as a label.
This is where ASCII art comes in handy. BTW, don't put anything in parenthesis in the program.)
echo _______________
echo I I
echo I o I
echo I I
echo I______________ I
echo You swim.
The program is unfinished. You decide what's next. I included a few basic commands you'd need.
Offline
Scratchthatguys wrote:
Here's an example program.
@echo off
title Game
echo 1) Play
echo 2) Quit
set /p mainchoice=
if %mainchoice%==1 goto :Play
if %mainchoice%==2 exit
:Play
echo 1) Buy ice cream
echo 2) Jump into the pool
set /p secondchoice=
if %secondchoice%==1 set inventory=ice cream
if %secondchoice%==1 goto :jumpinpool1
:jumpinpool1
(Case has to match. Don't forget the :, because then it won't register as a label.
This is where ASCII art comes in handy. BTW, don't put anything in parenthesis in the program.)
echo _______________
echo I I
echo I o I
echo I I
echo I______________ I
echo You swim.
The program is unfinished. You decide what's next. I included a few basic commands you'd need.
MS-DOS is a interface, not a language.
Micro
Soft
Disk-based
Operating
System
Last edited by PW132 (2010-11-13 13:22:39)

Offline
It seemed MS-DOS was hard the first time I used it. You just need to learn the commands, and then it is easy.
Of course, there is a link to SIMPL-DOS in my sig. SIMPL isn't MS-DOS compatible, but it is meant to be easy
. (Sorry about Advertising)
Offline
fire219 wrote:
It seemed MS-DOS was hard the first time I used it. You just need to learn the commands, and then it is easy.
Of course, there is a link to SIMPL-DOS in my sig. SIMPL isn't MS-DOS compatible, but it is meant to be easy. (Sorry about Advertising)
Then it has no point for me, I'm learning MS-DOS to open and run MS-DOS programs from the 80's and 90's.

Offline
PW132 wrote:
Scratchthatguys wrote:
Here's an example program.
@echo off
title Game
echo 1) Play
echo 2) Quit
set /p mainchoice=
if %mainchoice%==1 goto :Play
if %mainchoice%==2 exit
:Play
echo 1) Buy ice cream
echo 2) Jump into the pool
set /p secondchoice=
if %secondchoice%==1 set inventory=ice cream
if %secondchoice%==1 goto :jumpinpool1
:jumpinpool1
(Case has to match. Don't forget the :, because then it won't register as a label.
This is where ASCII art comes in handy. BTW, don't put anything in parenthesis in the program.)
echo _______________
echo I I
echo I o I
echo I I
echo I______________ I
echo You swim.
The program is unfinished. You decide what's next. I included a few basic commands you'd need.MS-DOS is a interface, not a language.
Micro
Soft
Disk-based
Operating
System
Error: DOS is not a language, but a whole OS
DOS is Disc Operating System. Go watcjh soem Danoct01 videos with dos. There actually pretty good tutorials in the world of DOS viruses

Offline
Jet7889 wrote:
PW132 wrote:
Scratchthatguys wrote:
Here's an example program.
@echo off
title Game
echo 1) Play
echo 2) Quit
set /p mainchoice=
if %mainchoice%==1 goto :Play
if %mainchoice%==2 exit
:Play
echo 1) Buy ice cream
echo 2) Jump into the pool
set /p secondchoice=
if %secondchoice%==1 set inventory=ice cream
if %secondchoice%==1 goto :jumpinpool1
:jumpinpool1
(Case has to match. Don't forget the :, because then it won't register as a label.
This is where ASCII art comes in handy. BTW, don't put anything in parenthesis in the program.)
echo _______________
echo I I
echo I o I
echo I I
echo I______________ I
echo You swim.
The program is unfinished. You decide what's next. I included a few basic commands you'd need.MS-DOS is a interface, not a language.
Micro
Soft
Disk-based
Operating
SystemError: DOS is not a language, but a whole OS
DOS is Disc Operating System. Go watcjh soem Danoct01 videos with dos. There actually pretty good tutorials in the world of DOS viruses
Same difference.

Offline