boost::filesystem question

Hi all, is it possible to find out the Windows short name of a valid Windows path and/or vise versa? We are using Boost 1.42 at the moment. best regards Arno

Please define "Windows short name".
Regards,
Júlio.
2012/8/1 Arno
Hi all,
is it possible to find out the Windows short name of a valid Windows path and/or vise versa? We are using Boost 1.42 at the moment.
best regards Arno
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On 8/1/2012 11:13 AM, Júlio Hoffimann wrote:
Please define "Windows short name".
Regards, Júlio.
2012/8/1 Arno
mailto:arno.schaefer@sqs.de> Hi all,
is it possible to find out the Windows short name of a valid Windows path and/or vise versa? We are using Boost 1.42 at the moment.
best regards Arno
Given that short file names are thankfully almost a thing of the past, I can't see any reason for boost to provide direct support for these. I doubt that it currently does. But, you can always retrieve the long file name and call the Windows API function GetShortPathName to retrieve it. Brief history: Short file names are the old DOS style 8.3 character file/directory names. -- Bill

Hello,
On Wed, Aug 1, 2012 at 11:13 AM, Júlio Hoffimann
Please define "Windows short name".
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).as... Please refer to the section entitled "Short vs. Long Names". Cheers, Will
Regards, Júlio.
2012/8/1 Arno
Hi all,
is it possible to find out the Windows short name of a valid Windows path and/or vise versa? We are using Boost 1.42 at the moment.
best regards Arno
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Sometimes i forget how i love Linux.
Cheers,
Júlio.
2012/8/1 Will Mason
Hello,
On Wed, Aug 1, 2012 at 11:13 AM, Júlio Hoffimann < julio.hoffimann@gmail.com> wrote:
Please define "Windows short name".
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).as...
Please refer to the section entitled "Short vs. Long Names".
Cheers, Will
Regards, Júlio.
2012/8/1 Arno
Hi all,
is it possible to find out the Windows short name of a valid Windows path and/or vise versa? We are using Boost 1.42 at the moment.
best regards Arno
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Arno
-
Bill Buklis
-
Júlio Hoffimann
-
Will Mason