Odd, as I do not see the 8.3 name in either case....
======here are the two runs=============
H:\study\perl\tests>perl "this is a simple test.pl"
$0 is "this is a simple test.pl"
H:\study\perl\tests> "this is a simple test.pl"
$0 is "H:\study\perl\tests\this is a simple test.pl"
========================================
It was well noted that the second case was fully qualified though.
Christopher
-----Original Message-----
From: Kulkarni, Tushar (GEL, MSX)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 11:05 AM
To: 'Newell, Paul'; '[EMAIL PROTECTED]'
Subject: RE: Filename 8.3 again
This is weird. If I run it as C:\>programname, I get
fullpath\8.3programname, But if I run as C:\> perl programname it get
complete programname with no path information. Why is it so?
Tushar
-----Original Message-----
From: Newell, Paul [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 1:12 PM
To: 'Kulkarni, Tushar (GEL, MSX)'; '[EMAIL PROTECTED]'
Subject: RE: Filename 8.3 again
You might want to look at how you are invoking Perl. Are you associating it
with a extension like .pl? Are you starting it from a shortcut?
When I run a simple test:
C:\> cat "this is a simple test.pl"
print qq{\$0 is "$0"};
C:\> perl "this is a simple test.pl"
$0 is this is a simple test.pl
C:\>
it seems to work fine. I am running AS Perl build 618 on WinNT 4.0.
-Paul Newell
> -----Original Message-----
> From: Kulkarni, Tushar (GEL, MSX)
> [mailto:[EMAIL PROTECTED]]
> Sent: December 22, 2000 11:50 AM
> To: '[EMAIL PROTECTED]'
> Subject: Filename 8.3 again
>
>
> Hi All,
> Some time back there was discussion about issues
> regarding filename
> in 8.3 format. Unfortunately I couldn't find those mails.
> I am using $0 to display program name on winNT. The
> program name is
> displayed in 8.3 format. How can I get long filename?
>
> Thanks
> Tushar
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users