Advertisement

A quick one...

Started by June 01, 2001 05:21 PM
1 comment, last by VyvyanBasterd 23 years, 8 months ago
Does anyone know how to convert a Windows filename to the old DOS format? That is, convert "Copy of Template.txt" to "Copyof~1.txt". Is there such a function already written? Thanks... Vyvyan
Windows function:

DWORD GetShortPathName(  LPCTSTR lpszLongPath,  // null-terminated path string  LPTSTR lpszShortPath,  // short form buffer  DWORD cchBuffer        // size of short form buffer); 



Advertisement
Thanks!

This topic is closed to new replies.

Advertisement