Converting paths with long names to paths with short names
Converting paths with long names to paths with short names
- Subject: Converting paths with long names to paths with short names
- From: Prady K <email@hidden>
- Date: Wed, 14 Dec 2005 17:54:55 -0800
Hi
Is there any way in Cocoa or any other method to convert a path that
contains long names into paths with short names. i.e. 8.3 format names
like in DOS. The paths are always in DOS formatted volumes like incase
of a photo card. This photo card contains a file that contains the
path in 8.3 format. For e.g. If the actual path of the file in the
card is
DCIM/100TEST1/This is a long folder name/image1.jpg
Then the file would contain the path as
DCIM/100TEST1/THISIS~1.
When I try to open the file using Cocoa file manager and work space
calls, it works fine if I give the path as
DCIM/100TEST1/THISIS~1/image1.jpg. I want to be able to map a given
path in a DOS formatted volume to it's 8.3 equivalent.
-
TIA
Prady
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden