Get Short file name (DOS 8.3 format)

Discussion forum about all things Gupta, OpenText and the community.
SSRJMC
Saudi Arabia
Posts: 30
Joined: 08 May 2017, 12:27
Location: Jeddah,Saudi Arabia

Get Short file name (DOS 8.3 format)

Post by SSRJMC » 07 Jul 2020, 14:32

How can I get a filename in DOS (8.3) format?

Regards,
Abdul Rahman.S

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3522
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: Get Short file name (DOS 8.3 format)

Post by Dave Rabelink » 07 Jul 2020, 17:50

Using this WinApi function: GetShortPathNameW

https://docs.microsoft.com/en-us/window ... tpathnamew
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 2 guests