PC Review


Reply
Thread Tools Rate Thread

Converting files/directories in 8.3 format

 
 
Stephen
Guest
Posts: n/a
 
      17th Mar 2004
I want to be able to convert my files and directories which are in 8.3
format to what the user would normally see.

So if I have the string c:\docume~1\username I would like to replace it with
c:\Documents and Settings\username.

I currently check each directory in 8.3 format in the string against the WMI
Win32_Directory EightDotThreeFileName property until I find a match and then
replace it.

I can't help but feel there must be an easier way than this. Does anyone
know a simple call I can make that will take in a directory in 8.3 format
and return full path?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting .VOC files to .WAV format =?Utf-8?B?Z29ydA==?= Windows XP Music 7 11th Dec 2007 05:00 AM
Command Prompt lists Directories and files in 8.3 format =?Utf-8?B?Z2dlbm92?= Windows XP General 5 25th Oct 2007 06:23 PM
Copying JPEG image files to new directories makes directories unus =?Utf-8?B?U2ltb24gUC4=?= Windows XP Help 0 29th Jan 2007 02:21 AM
Converting .avi files to DVD format Roy Martin Windows XP Video 3 3rd Jan 2006 04:28 PM
converting mp3 files to wma format =?Utf-8?B?a3Rfa2Fud2FsZ21j?= Windows XP Music 2 18th Oct 2004 06:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 AM.