Discussion Locked

Examining variables in DOS

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do you/can you display the value of variables currently assigned under DOS at a command prompt? (Working in windows 98 and general vanilla DOS).
Do I need some software tool? Is it Freeware/shareware available and if so Where can I find it?

5 replies

by syscokid

Just type "set". That will display all current environment variables. If the screen scrolls, type "set |more" to force it to pause on the first page.

by gutridgesj

if you mean environment variables, at a dos prompt if you use the "set" command it will tell you all the set varibles in dos. if there are too many redirect the output to a file, ie "set > file.txt"
if the variables are in windows, then the set command in dos will not work.

This discussion is closed to new replies.