[Qt-interest] File names from the command line

Pere Constans constans at molspaces.com
Mon Dec 8 16:15:09 CET 2008


When an application receives the file name from the command line, in Windows, 
the string is in upper case letters, and abbreviated with ~ characters. I use 
this file name to set the window title, so it doesn't look much aesthetic.

Is there any way to convert this name to a more readable string, 
from  'C:DOCUMENTS~\...' to 'C:\Documents and Settings\...' ?


Thanks.



More information about the Qt-interest-old mailing list