General discussion

Locked

Examining variables in DOS

By 115147.455 ·
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?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Examining variables in DOS

by SyscoKid In reply to Examining variables in DO ...

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.

Collapse -

Examining variables in DOS

by 115147.455 In reply to Examining variables in DO ...

Poster rated this answer

Collapse -

Examining variables in DOS

by gutridgesj In reply to Examining variables in DO ...

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.

Collapse -

Examining variables in DOS

by 115147.455 In reply to Examining variables in DO ...

Poster rated this answer

Collapse -

Examining variables in DOS

by 115147.455 In reply to Examining variables in DO ...

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums