Ben writes..

>If I have a function which is returning a file name in a format like: 
>/PROGRA~1/RLDSOF~1/APPLIC~1/remote/def
>
>How can I translate this to the "real" file name?  e.g. 
>"PROGRA~1" should be "Program Files", etc.

  print Win32::GetLongPathName(
'/PROGRA~1/RLDSOF~1/APPLIC~1/remote/def');

-- 
  Jason King
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to