[Qt-interest] File names from the command line

Anthony Serdyukov uksus70 at gmail.com
Tue Dec 9 13:55:29 CET 2008


Try to play with QFileInfo somehow.

2008/12/8, Pere Constans <constans at molspaces.com>:
>
> 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.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>


-- 
Regards,
Anthony



More information about the Qt-interest-old mailing list