| Related sites for http://support.microsoft.com/?kbid=65994 |
| Danethical_com Provides forum hosting services. Ad-supported. | | Social_Software_Limited Provides specialized information management systems and consulting services to the social welfare community. Applications run on the Revelation Software OpenInsight database. Located in Willsbridge, | | XLsoft_Corporation StickerPIX is software for Windows 95/98/NT/Mac to create miniature stamp-size photo stickers that can be printed from an inkjet printer. | | ProLisp An interpreter for a lexically scoped minimalistic Lisp of Lisp 1.5 type. It written in C++ and currently runs under Linux. [Open source] | | Network_Hotsync_Howto Describes how to do a HotSync operation between a Palm and a Unix host (running PilotManager) over a TCP/IP connection. | | RFC_1823 The LDAP Application Program Interface. T. Howes, M. Smith. August 1995. | | HelpLine_Incident_Management A customizable help desk for support personnel and customers (both internal and external). Includes SLA management and bespoke notification. | | Michael_Still Various Open Source packages, include PDF generation software. | | LINOLEUM__Peterpaul\'s_Place Brief description, projects (yahtzee game, library archive), contact, downloads. | | Caravel Translates 100% of the RPG systems to Java. By TransTOOLs, Inc. | | Mew_and_BBDB Mailer together with database for contact and address management. | | PowerBLua PowerBASIC wrapper for calling Lua functions. | | Vistar_Technologies Provides Credentialing Software - Meeting the challenges facing healthcare management though innovative software solutions. | | SIGARCH__Computer_Architecture Serves those working in computer design in the academy or industry. | | BlueFive_Software Author of utilities and unusual tools for Windows 9x/ME/NT/XP. Amiga programs too, and besides the software there are some useful programming and freeware links. | | Fanny\'s_Sentiments Categories include patriotic, Christmas, eagles, roses, marriage, and family. | | Eagle_Eye_Technologies Source for optical disks and drives. | | Ensim Centralized provisioning and control for enterprise IT services. Supports Microsoft Exchange, Active Directory and Mobility applications. | | CJs_Creations Offering website design and hosting. Specializing in personal and small business clients. Located in Green Bay, Wisconsin. | | Affiliate_Success_Tips Affiliate marketing articles and resources. |
|
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%3d65994\x26p0\x3dkb\x26p1\x3den-us\x26p2\x3d65994';SaveToFavoritesData.noCookieUrl='\x2fgp\x2fnocookies';#SendFeedback_tr{display:none;}var gCookieDomain='';Testing If a Drive or Directory Exists from a Batch Filevar PersonalizationInfo='a2I2NTk5NAhlbi11cwhUZXN0aW5nIElmIGEgRHJpdmUgb3IgRGlyZQ__';var enableSiteSurvey = true;
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
Testing If a Drive or Directory Exists from a Batch File This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.View products that this article applies to.function loadTOCNode(){}Article ID:65994Last Review:November 16, 2006Revision:2.1This article was previously published under Q65994SUMMARYloadTOCNode(1, 'summary');
You can use the IF EXIST statement to check for the presence of a
directory. For example, to test for C:\WIN and then change to C:\WIN if it
exists, use the following batch file:
C:
IF NOT EXIST C:\WIN\NUL GOTO NOWINDIR
CD \WIN
:NOWINDIR
MORE INFORMATIONloadTOCNode(1, 'moreinformation');
NUL always exists on a local MS-DOS FAT drive; therefore, if C:\WIN exists,
C:\WIN\NUL exists. This technique can also be used to verify that a drive
exists. For example:
IF EXIST E:\NUL GOTO USE_E
If an unformatted disk is tested, or if the floppy disk drive is empty, an
INT 24 error (Abort, Retry, Fail?) occurs.
Neither of these tests works correctly with network devices or any other
device that does not have a block device-driver-controlled FAT file system
(for example, when you are using Windows for Workgroups 3.11 with 32-Bit
File Access enabled).
Prior to using this technique, you should know what network software the
client is using, what type of server they're connecting to, and the file
system the server is using.
The following table shows when IF EXIST returns NUL:
With 32-Bit File
No 32-Bit With 32-Bit Access and NetWare
Drive Type File Access File Access 3.x connectivity
Local FAT correctly always never
Windows for Workgroups FAT correctly always never
Microsoft LAN Manager HPFS never always never
Windows NT FAT/NTFS never always never
NetWare correctly never never
APPLIES TO•Microsoft MS-DOS 3.1•Microsoft MS-DOS 3.2 Standard Edition•Microsoft MS-DOS 3.21 Standard Edition•Microsoft MS-DOS 3.3 Standard Edition•Microsoft MS-DOS 3.3a•Microsoft MS-DOS 4.0 Standard Edition•Microsoft MS-DOS 4.01 Standard Edition•Microsoft MS-DOS 5.0 Standard Edition•Microsoft MS-DOS 5.0a•Microsoft MS-DOS 6.0 Standard Edition•Microsoft MS-DOS 6.2 Standard Edition•Microsoft MS-DOS 6.21 Standard Edition•Microsoft MS-DOS 6.22 Standard Edition•Microsoft Windows for Workgroups 3.11 Back to the topKeywords: KB65994Article 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='65994';StatsDotNet.platform='unknown';StatsDotNet.eventCollectionId=1;StatsDotNet.siteBrandId='1';StatsDotNet.onUnloadTimeout=300;StatsDotNet.userAgentString='allrati\x2f1.1 \x28\x2b\x29';StatsDotNet.ContentProperties='6\x3d9\x7c7\x3d2.1\x7c9\x3dkbAudEndUser \x7c';if(window.top == window && enableSiteSurvey) document.write('');function thisLoad(){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_65994\x26R\x3d');StatsDotNet.LogPageOnLoad();}function thisUnload(){} |
|