| Home / General / Directory.Exists() Issue |
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!
Directory.Exists() Issue
posted by varson (7) 13 months ago (blogs.msdn.com)
On Windows CE 4.X based devices, Directory.Exists() treats path names ending with a slash "\" differently. As an example,
Directory.Exists("\\temp")
will return true if the "temp" directory exists. However, the following call will return false even though the directory exists:
Directory.Exists("\\temp\\")
On Windows Mobile 5.0 devices, NETCF's behavior is consistent with Desktop's; that is, Directory.Exists() returns true if and only if the directory exists, no matter whether there is a trailing slash in the path or not. For the above example, we will return true
Microsoft news, tips and tricks search
Comments
Add a comment
Post voted by 1 digWinners
Featured Links
-
Free Download Trial: SharePoint Migration, Backup and Recovery Software
DocAve: Enterprise, full-fidelity backup & recovery software for SharePoint provides essential protection & management tools, and allows for a data migration from Exchange Public Folders in to SharePoint 2007 & 2003.
User
Sponsor
Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Featured
Categories
Upcoming NEW
- Microsoft Certified Technology Specialist Exam 70-656: Microsoft Desktop Optimization Pack, Configuring
- Why EMC should consider buying Sun Microsystems
- How to get 25% DISCOUNT for MelodyCan converter
- How to get 25% DISCOUNT for MelodyCan converter
- M4V Converter - Convert M4V to AVI MPEG WMV MP3 FLV VOB
- How to convert DRM protected itunes music wma m4p to mp3 wav with TuneClone
- Power and cheap canon BP-2L12 camcorder battery
- Canon NB-4L camera battery
- Designer Chanel Wallet Replica Chanel Handbags
- Best Quality Chanel Handbag Replica Chanel Bags
- Killtest Offer The Latest Real Q&A For Oracle 1z0-620
- Killtest Offer The Latest Real Q&A For Oracle 1z0-311
- Killtest Offer The Latest Real Q&A For IBMcertificationsII 000-971
- Killtest Offer The Latest Real Q&A For Oracle 1z0-212
- Killtest Offer The Latest Real Q&A For Oracle 1z0-211
- Killtest Offer The Latest Real Q&A For Oracle 1z0-208
- Killtest Offer The Latest Real Q&A For Oracle 1z0-200
- Killtest Offer The Latest Real Q&A For 9iInternetApplicationDeveloper 1z0-147
- Killtest Offer The Latest Real Q&A For 9iInternetApplicationDeveloper 1z0-141
- Killtest Offer The Latest Real Q&A For 9iInternetApplicationDeveloper 1z0-140
Recent comments
- 50 Free Eset/NOD32 Security Licenses Available by rajkumar
- Best Video conversion and editing software by qqmm2008 (0)
- Free xbox Live gold 48 hour Trial (only one) by Anonymous user
- Backup and Recovery in Windows 2008 Server by Anonymous user
- Toca Race Driver 2 PC-DVD with 1.2 update and fixed .exe (Windows) by Anonymous user
- Can You Access Windows Live Hotmail On iPhone? by Anonymous user
- Plugged In, Not Charging - Windows Vista + Laptop by Riz
- Email Recovery Software by Anonymous user
- Comparison for iPod Users: Free Online Converter & DVD to iPod Converter by wolovely (0)
- Killtest Offer The Real Q&A For PeopleSoft Application Developer II 1z1-242 by seedfox (0)


