| Related sites for http://support.microsoft.com/?kbid=121170 |
| VSE/ESA_e-business_Connectors_and_Utilities Downloadable VSE/ESA software and documentation. Many are Java-based. | | Bigwapsite Provides a general resource by offering tutorials, FAQ and selection of downloadable tools. | | Erlang_Service_Architectures A White Paper comparing the architecture of web applications written in Erlang with those using the Open Source LAMP stack (Linux, Apache, MySQL/Postgres, Perl/Python/PHP/Ruby) and an enterprise Java | | HelpSTAR_Software Provides a flexible workflow, an interactive web interface, auto-email notification, and additional support for medium to large helpdesk environments. | | Item_Inc_ Specializes in Xerox, QMS, and Tektronix for printer and parts sales. Also offers office equipment. | | CRK_Interactive Offers instructional and graphical design, development, and training services to businesses and institutions. | | WinOcular Software solutions for document imaging, document capture, and automation of a business process through workflow software for corporations, small business, government, and public schools. | | Solaris_certification_exams Solaris certification study materials. | | Comzign Source for computers, accessories, peripherals, and software. Based in Woking, Surrey, UK. Also repair and maintain computers, TVs and networks. | | A1VBCode Hundreds of snippets and downloads in all categories including games, databases, ActiveX, API, and ASP. Submit your own code and win prizes. | | Flawed_Routers_Flood_University_of_Wisconsin_Internet_Time_Server Report by Dave Plonka on the massive problems caused on the University of Wisconsin network and time servers, due to misconfiguration of NetGear equipment | | CD-CQ Offers analyzers and balance analyzers to verify CD, CD-R and DVD disc quality. | | Windows_Network_Status_Reporting_Tool Shareware program for a Windows NT/2000 service to monitor the link quality of a list of IP addresses in a configuration file and produce as output an HTML file which indicates the link status. | | Adding_Methods_to_HTML_Elements How to extend HTML elements with custom methods when coding Web 2.0 application and DHTML. | | Ai_Netcomm Offer web and graphic design, domain registration, and hosting services. | | News__Does_P3P_equal_privacy? COMMENTARY--Online privacy isn't the issue it once was, if indeed people really ever cared about it. (May 15, 2002) | | Gyula Propsoes a right-click menu utility and some tips. | | Berger_and_Fries Provides web design and development, scripting, photography, graphics, animations, and database services. | | Folio_Box_Office_Software Sell reserved seat and general admission tickets. Also reduces waste, increases control, and maintains accountability of ticket sales. Opens up new markets with the eFolio Internet ticketing module. | | RemoteScan_Corp_ RemoteScan is a document management software solution that turns any document scanner, card scanner, flatbed scanner, or other imaging device, into a network device. |
|
setCookie("gssSITE","gn",'',true);setCookie("gssTHEME","gn",'',true);setCookie("gssTOOLBAR","gn",'',true);SaveToFavoritesData.savingMsg='Saving Favorites';SaveToFavoritesData.connectionErrorMsg='Cannot Connect';SaveToFavoritesData.savedMsg='Favorites Saved';SaveToFavoritesData.noSaveErrorMsg='Cannot Save';SaveToFavoritesData.surveyUrl='\x2fcommon\x2fsurvey.aspx\x3fscid\x3dsw\x3ben\x3b1076\x26surveystyle\x3dpopup\x26showpage\x3d1\x26site\x3dgn\x26siteregion\x3den-us\x26url\x3d%2fDefault.aspx%3fkbid%3d121170\x26p0\x3dkb\x26p1\x3den-us\x26p2\x3d121170';SaveToFavoritesData.noCookieUrl='\x2fgp\x2fnocookies';var g_currentContent='kb\x3ben-us\x3b121170';var gCookieDomain='';How to Access Environment Variables in an MS-DOS Batch Filevar PersonalizationInfo='a2IxMjExNzAIZW4tdXMISG93IHRvIEFjY2VzcyBFbnZpcm9ubWVudCA_';var enableSiteSurvey = true;animationDuration = 0.5;var embedSurveyPrompt='nothing';var Exp=90;var Delay=0;var Freq=50;var SurveyStyle='popup';var DisplayIntroPage=1;var EmailStyle=0;var EmailSurveyID='';var ReferringURL='';var TrEvent='onunload';var TriggerId='12075';var IntervalType = 'session';var surveyTrigger = new MS.Support.Fms.Gsfx.SurveyTrigger();
body
{
background:url('/library/images/support/cn/gsfx_brnd_gn_top_bgrd.gif') repeat-x #C8E3F1;
}
#gsfx_brnd_SiteHeaderImage
{
height:0px;
}
.gsfx_brnd_NetworkLink, .gsfx_brnd_NetworkLink:visited, .gsfx_brnd_NetworkLink a, .gsfx_brnd_NetworkLink a:visited
{
color: #cdcbce;
}
.gsfx_brnd_NetworkLink:hover, .gsfx_brnd_NetworkLink:active, .gsfx_brnd_NetworkLink:focus,
.gsfx_brnd_NetworkLink a:hover, .gsfx_brnd_NetworkLink a:active, .gsfx_brnd_NetworkLink a:focus
{
color: #f9d060;
border-bottom-color: #f9d060;
}
#gsfx_brnd_NetworkHeader, #gsfx_brnd_NetworkHeaderLinks
{
color: #ffffff;
}
#gsfx_brnd_SiteHeader, #gsfx_brnd_PageLogoWrapper, #gsfx_brnd_PageTitle, #gsfx_brnd_SearchWrapper a, #gsfx_bsrch_poweredbycell span
{
color: #ffffff;
}
#gsfx_bsrch_catsel a, #gsfx_bsrch_catsel span
{
border-color: #ffffff;
}
#gsfx_brnd_SiteFooter, #gsfx_brnd_SiteFooterWrap
{
color: #ffffff;
}
#gsfx_brnd_NetworkFooter, #gsfx_brnd_FooterLinkContainer, #gsfx_brnd_FooterLinkContainer span,
#gsfx_brnd_copyright_container, #gsfx_brnd_copyright_container span
{
color: #ffffff;
}
United States
Change
|
All Microsoft Sites
Help and Support
setACStartChars('4:');
try{MS.Support.AC.MakeAutoComplete({id:'gsfx_bsrch_query', lcid:'1033', acURL:'http://autocomplete.support.microsoft.com', statsObj:StatsDotNet, startChar:'4', bubbleside:'left'});}catch(e){}
powered by Live Search
#gsfx_bsrch_catsel a {display:none;} #gsfx_bsrch_websrch {display:none;}
InitSrch();
InitAC('gsfx_bsrch_query');MS_AddEvent(window, 'load', function() {gsfx_bsrch_InitCatSelection('gsfx_bsrch_query', '4:');});
Help and Support Home Select a Product Advanced Search
How to Access Environment Variables in an MS-DOS Batch FileView products that this article applies to.function loadTOCNode(){}Article ID:121170Last Review:September 30, 2003Revision:3.0This article was previously published under Q121170SUMMARYloadTOCNode(1, 'summary');
The article explains how you can access environment variables within MS-DOS
batch files.
MORE INFORMATIONloadTOCNode(1, 'moreinformation');
The following example shows how to test for the existence of an environment
variable:
IF "%VARIABLE%" == "" GOTO MODULE
This example checks for the existence of the environment variable
"VARIABLE." If VARIABLE does not exist, the statement is true and control
of the batch file jumps to the MODULE section. If the statement is not
true, that is, the VARIABLE variable does exist, program control skips to
the next line of the batch file and continues.
NOTE: The quotation marks are necessary only when a variable is used in a
logical IF statement.
The following example illustrates the use of the PATH environment variable
within a batch file:
IF "%PATH%" == "" GOTO NOPATH
:YESPATH
@ECHO The PATH environment variable was detected.
PATH=C:\DOS;%PATH%
GOTO END
:NOPATH
@ECHO The PATH environment variable was NOT detected.
PATH=C:\DOS;
GOTO END
:END
This example tests for the existence of the PATH variable. If it exists,
control passes to the YESPATH section; otherwise, control is passed to the
NOPATH section.
If a path is detected and control is passed to the YESPATH section, C:\DOS
is added to the existing path by using the %PATH% variable.
APPLIES TO•Microsoft MS-DOS 6.22 Standard Edition Back to the topKeywords: KB121170 Provide feedback on this information function _kbfeedback_random_load() { if(typeof(kbSurvey) != "undefined") { var sSurveyId = "1496"; kbSurvey.addSubmitField("SURVEYID", sSurveyId); kbSurvey.addSubmitField("SURVEYSCID", kbSurvey.submitFields["SURVEYSCID"].replace("1361", sSurveyId)); } } if(window.addEventListener) { window.addEventListener("load", _kbfeedback_random_load, false); } else if(window.attachEvent) { window.attachEvent("onload", _kbfeedback_random_load); } Did this information solve your problem?YesNoI don't knowWas this information relevant?YesNoWhat can we do to improve this information?To protect your privacy, do not include contact information in your feedback.Thank you! Your feedback is used to help us improve our support content. For more assistance options, please visit the Help and Support Home Page. var kbSurvey = new MS.Support.Fms.Survey("fmsSurvey"); kbSurvey.isKBEmbedded = true; kbSurvey.addSubmitField('REGIONID', 'en-us'); kbSurvey.addSubmitField('SITE', 'gn'); kbSurvey.addSubmitField('SURVEYSCID', 'sw;en;1361'); kbSurvey.addSubmitField('SURVEYID', '1361'); kbSurvey.addSubmitField('SURVEYNAME', ''); kbSurvey.addSubmitField('BROWSERLANGCODE', 'en-us, en\x3bq\x3d0.50'); kbSurvey.addSubmitField('SURVEYLANGCODE', 'en'); kbSurvey.addSubmitField('FMSURL', '%252fDefault.aspx%253fkbid%253d121170'); kbSurvey.parameters = ['kb','en-us','121170','','','','','','','']; kbSurvey.maxKBsInCookie = '10'; kbSurvey.kbvisited = ''; Article TranslationsArabicFrenchGermanItalianJapanesePortuguese (Brazil)Portuguese (Portugal)Simplified ChineseSpanishTraditional Chinese Other Support OptionsNeed More Help?Contact a Support professional by E-mail, Online or Phone.Customer ServiceFor non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.NewsgroupsPose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.Page ToolsPrint this pageE-mail this page
Help and Support
Services Agreement
Contact Us|Terms of Use|Trademarks|Privacy Statement
©2008 Microsoft
#gsfx_brnd_CenterContent, #gsfx_brnd_PageWrapper
{
background: url('/library/images/support/cn/gsfx_brnd_gn_bottom_bgrd.png') repeat-x bottom;
}
   StatsDotNet.disabled=false;StatsDotNet.host='http\x3a\x2f\x2fsupport.microsoft.com\x2fLTS\x2fdefault.aspx';StatsDotNet.ssId='1';StatsDotNet.siteLcId='1033';StatsDotNet.SiteCulture='en-us';StatsDotNet.SsVersion='GSS4.6';StatsDotNet.url='\x2fDefault.aspx';StatsDotNet.ContentCulture ='en-us';StatsDotNet.contentType='kb';StatsDotNet.contentLn='1033';StatsDotNet.contentId='121170';StatsDotNet.platform='windows nt 5.0';StatsDotNet.eventCollectionId=1;StatsDotNet.siteBrandId='1';StatsDotNet.onUnloadTimeout=300;StatsDotNet.userAgentString='mozilla\x2f4.0 \x28compatible\x3b msie 6.0\x3b windows nt 5.0\x29';StatsDotNet.ContentProperties='6\x3d9\x7c7\x3d3.0\x7c';function isDomainTracking(){var entry = fetchcookieval('fmshb');if (entry){try{return entry.split(',')[0] == '1' ? true : false;}catch (e){return false;}}return false;};window.setInterval("document.cookie = 'fmshb=' + (isDomainTracking() ? '1' : '0') + ',' + new Date().getTime() + ';path=/'", 1000);var CookieDef = 'ST_GN_EN-US';function fmsLastExp(){ var visits = fetchcookieval(CookieDef); var parts = visits.split('_'); if(null == visits || parts.length != 3 || isNaN(parts[0])) { setcookieval(CookieDef, '1_0_0'); return 0; } return parseInt(parts[2]);}function fmsSurveyExpired(days){ var MiliDay = 86400000; var visits = fetchcookieval(CookieDef); var parts = visits.split('_'); if(null == visits || parts.length != 3 || isNaN(parts[0])) { setcookieval(CookieDef, '1_0_0'); return true; } var origDate = parseInt(parts[1]); var curDate = new Date(); return (curDate.getTime()/MiliDay - days) >= origDate;}function activateSiteSurvey(){ if(window.top == window && !isDomainTracking() && enableSiteSurvey && fmsSurveyExpired(fmsLastExp())) { document.write(''); }}if(surveyTrigger.triggerInit(0)){surveyTrigger.fireTrigger('/common/survey.aspx?scid=sw;en;1444&XSL=','gn','gn','gn','en-us','http\x253a\x252f\x252fsupport.microsoft.com\x252fDefault.aspx\x253fkbid\x253d121170','kb','en-us','121170','','','','','','','');}else{activateSiteSurvey();}function thisLoad(){KBFeedBackShowSurvey();MS_WebMetrix('http\x3a\x2f\x2fc.microsoft.com\x2ftrans_pixel.asp\x3fTYPE\x3dSSPV\x26SOURCE\x3dSUPPORT\x26GUID\x3d1F4FC18C-F71E-47fb-8FC9-612F8EE59C61\x26URI\x3d\x252fgn\x252fen-us\x252fkb_en-us_121170\x26R\x3d');StatsDotNet.LogPageOnLoad();}function thisUnload(){} |
|