Center for Technical Education
Computer Technology
Internal DOS Commands


ABOUT SET
   Allows you to change one variable or string to another.
SET SYNTAX
   Displays, sets, or removes Windows environment variables.

   SET [variable=[string]]
        variable Specifies the environment-variable name.
        string Specifies a series of characters to assign to the variable.

   Type SET without parameters to display the current environment variables.

       set - This would currently show you what has already been set
       set path=c:\windows\command - This would set the path to c:\windows\command.
EXAMPLES
   set - This would currently show you what has already been set

   set path=c:\windows\command - This would set the path to c:\windows\command.
ADDITIONAL INFORMATION
    If you wanted to hide all your directories from users you can use: SET DIRCMD=0 This will prevent anyone from seeing the directories however they still could be accessed. To allow the directories to be visible again type: SET DIRCMD=