• Status: Open
  • Priority: Low
  • Security: Public
  • Views: 27
  • Last Modified:

"Varialble" DOS commands

My co-worker working on an old app and he need to make some updates to a DOS app. I haven't work with DOS in years and to avoid the learning curve I was hoping someone can assist. I need to setup a variable in DOS and looking to get some help on setting that up.  Any help would be greatly appreciated.
Network Support
Network Support
Bill PrewCommented:
In DOS you just use the SET command to assign variables.  So:

SET var1=value1

creates or updates the environment variable var1 and gives it a value of value1.

Can you share more about what you need to assign, how it will be used, etc, that would allow us to give better guidance.

Shaun VermaakTechnical Specialist/DeveloperCommented:
And to set it permanently use SETX

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now