Regards,
Howie
----- Original Message -----
From: Howie Hamlin
To: CF-Talk
Sent: Wednesday, February 25, 2004 11:45 AM
Subject: CFExecute and environment variables
I'm trying to call a Perl batch file in a CFML template on a Win server. The batch file works fine from the command line but Perl complains that the path is not set when using CFExecute:
You do not have Perl in your PATH.
The path to Perl exists from the command line but the path from CFMX looks like:
e:\CFusionMX\runtime\..\lib;e:\CFusionMX\runtime\..\jintegra\bin;e:\CFusionMX\runtime\..\jintegra\bin\international;e:\CFusionMX\runtime\..\lib\_nti40\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\System32\Wbem
Is there a way to add a path to Perl when using CFExecute?
Thanks,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

