|
-
Nov 28th, 2007, 03:48 PM
#1
Thread Starter
Not NoteMe
[1.0/2.0/3.0] Obtaining Path Capitalisation
Lets say that i've got a path (or file): "D:\Games\WhaTeVer"
I want to get from an uncapitalised string such as "d:\games\whatever" to the Capitalised version (i.e. the actual file\folder).
Anyone know how to do this. I've had a look at the Path, Directory and DirectoryAttribute classes, but unless i'm missing something they don't seem to enforce the correct capitalisation much. (things like DirectoryAttributeObject.FullName simply returns the string used to create it, whether it has the actual file/folder capitalisation correct).
Thanks for any help.
Last edited by SLH; Nov 28th, 2007 at 04:00 PM.
Reason: Edited title
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
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
|