I do know that if you add a link to that file in your path it will work from
the run prompt.

    you can create "script.lnk" and type just "script" from the run prompt

it will run it without the ".lnk" file extension.  I use this feature all
the time to keep from using the mouse to double click everything.

-=SykkN=-
http://www.lessthan.org

----- Original Message -----
From: "Thomas, Timothy B" <[EMAIL PROTECTED]>
To: <perl-win32-gui-users@lists.sourceforge.net>
Sent: Wednesday, May 23, 2001 3:42 PM
Subject: [perl-win32-gui-users] pathext issue with start, run vs command
line


> This isn't strictly WIn32:GUI, but it's related. I have .pl and .gpl
> associated with perl.exe and guiperl.exe respectively where guiperl is the
> console-less executable. I also have the pathext environment variable set
to
> include .pl and .gpl. I also have all my useful scripts in one location
and
> that location is in the path. So this means I can run script.gpl by
entering
> just "script"  from anywhere on the system. This works great, the problem
> is, I can't do the same by clicking on Start then Run. If I enter my
script
> with the extension it works just fine, but without it, it doesn't find it.
> So it seems to be a PATHEXT issue. This seems to be the case for both
> Windows NT and Windows 2000. Has anyone tracked this problem down any
> further to determine why start, run doesn't work the same as the command
> prompt? Any solutions out there to this issue?
> Thanks,
> Tim Thomas
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>

Reply via email to