|
-
October 7th, 2005, 10:33 AM
#1
Bug in GetFolderPath (beta)?
I am using Visual Studio 2005 (and .NET Framework), build beta2.50215-4400, with Microsoft Windows XP Professional, v5.1.2600 Service Pack 2 Build 2600.
When I use the following statement, the result has DOUBLED backslashes in every position which, of course, do not work very well in Windows IO functions.
Code:
string AStr = System.Environment.
GetFolderPath(
System.Environment.SpecialFolder.
ApplicationData).ToString();
Locals:
AStr "C:\\Documents and Settings\\user.login\\Application Data"
Has anyone else encountered this anomaly?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|