\
Skip Navigation LinksHome > Coding > Scripting > MS-DOS > View Item Info\
 
 
[]Return to List
[]UDF / UDC Library
[]Script Library



 

Showing: SET Commands

Used to set an environmental variable. *

SET VarName=Value
[Arguments] |  [Constants] |  [Return Type] |  [Script Example]

Arguments
VarName
Name of environmental variable to set data to

Value
Value to place within variable


Constants
MS-DOS does not use any constants


Return Type
If called without any parameters, SET will return a list of all current environmental variables and values


Script Example
Unless otherwise noted, this code is licensed according to the terms and conditions listed here.
@ECHO OFF
CLS
SET DX21=NEXT TIME
ECHO %DX21%
ECHO.
ECHO.
SET

* This text may contain reprinted material from the Microsoft .

Help Support Dx21
Buy Thru Us

 FAQs  |  Terms Of Use  |  Privacy Policy  |  Contact Us
Copyright © 1997 - 2010 Dx21, LLC. All rights reserved.
Dx21, LLC a Washington Limited Liability Company
Page Rendered at: 9/9/2010 12:31:10 PM for Unknown