RE: Filename 8.3 again

2000-12-23 Thread Carl Jolley
On Fri, 22 Dec 2000, Kulkarni, Tushar (GEL, MSX) wrote: > To get 8.3 name from long name we can use Win32::GetShortPathName(Filename), > is there equivalent of this to get long file name? > What would it cost you to guess and try it? [EMAIL PROTECTED] All opinions are my own and not

RE: Filename 8.3 again

2000-12-22 Thread Christopher Hahn
hreaded version, which I could build... Just curious, Christopher -Original Message- From: Kulkarni, Tushar (GEL, MSX) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 12:30 PM To: Christopher Hahn; '[EMAIL PROTECTED]' Subject: RE: Filename 8.3 again Must be ver

RE: Filename 8.3 again

2000-12-22 Thread Kulkarni, Tushar (GEL, MSX)
5 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 ---

RE: Filename 8.3 again

2000-12-22 Thread Christopher Hahn
--- 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 lik

RE: Filename 8.3 again

2000-12-22 Thread Kulkarni, Tushar (GEL, MSX)
;; '[EMAIL PROTECTED]' Subject: RE: Filename 8.3 again That's what I get too. Perl has to do something on it own to translate the script name to $0. When you invoke through the association I think it would just take argv[0] from the command line, which is probably set up by the shell

RE: Filename 8.3 again

2000-12-22 Thread Newell, Paul
OTECTED]] > Sent: December 22, 2000 2:05 PM > 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 > com

RE: Filename 8.3 again

2000-12-22 Thread Kulkarni, Tushar (GEL, MSX)
, 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:

RE: Filename 8.3 again

2000-12-22 Thread Newell, Paul
ot; $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: '[EMA

Filename 8.3 again

2000-12-22 Thread Kulkarni, Tushar (GEL, MSX)
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 ___