• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Converting paths with long names to paths with short names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: setNeedsDisplay oddity?
  • Next by Date: Re: CoreData, Two Nibs and Bindings
  • Previous by thread: Re: Universal Binary and/or Mac on Intel logo?
  • Next by thread: Synchronizing scolling of NSTextView and NSTableView
  • Index(es):
    • Date
    • Thread