Skip Menu |
 

This queue is for tickets about the Portable CPAN distribution.

Report information
The Basics
Id: 40298
Status: resolved
Priority: 0/
Queue: Portable

People
Owner: Nobody in particular
Requestors: szabgab [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: installed .bat file cannot work without a PATH
Date: Thu, 23 Oct 2008 14:08:54 +0200
To: bug-Portable [...] rt.cpan.org
From: "Gabor Szabo" <szabgab [...] gmail.com>
Download (untitled) / with headers
text/plain 638b
I managed to install Padre 0.10 on "Strawberry Perl Portable Beta 1" when I had PATH pointing to the perll\bin and c\bin directories it then worked if I typed in "padre". then I moved the whole portable directory to another place , now typing "padre" (obviously) does not find it but the problem is that typing c:\p\perl\padre.bat does not work either as it cannot find "perl" if I type c:\...\perl.exe c:\...\padre it works so Editing padre.bat and adding the magic %~dp0 taken from cpan.bat infront of both calls to "perl" solved the problem. Now I can type c:\...\padre.bat or double click the padre.bat and it works. Gabor
Should not be a problem anymore.

Please check the latest strawberry perl portable 5.16.0.1

--
kmx



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.