Ahh, thank you! I knew it had to be something simple! Incidentally, I
looked at the VB method of doing this, and it took several lines of code
that didn't make much sense to me at all! Thank you, too, Perl! =O)
--Jon S. Jaques
> -----Original Message-----
> From: Jan Dubois [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 19, 2000 4:34 PM
> To: Jon S. Jaques
> Cc: Perl-Win32-Users Mailing List
> Subject: Re: Getting Dos Short name...
>
>
> On Fri, 19 May 2000 15:37:19 -0400, "Jon S. Jaques" <[EMAIL PROTECTED]>
> wrote:
>
> >Hello Group,
> >long ones, but I have a problem where I need to turn long names
> into short
> >ones... partially because they are bogusly named Macintosh files... Does
> >anybody know of an easy way to do this? (short of parsing the
> output of dir
> >/X, that is!)
> >
>
>
> Did you try
>
> $shortname = Win32::GetShortPathName($longname);
>
> You find some other similar functions with "perldoc Win32".
>
> -Jan
>
>
>
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]