Environment Variable question. QTP doesn't recognize env-variables

Ken Langendock Ken at Langendock.com
Sat Dec 17 08:29:51 CST 2005


Ok, I have had some time to see what it is that I did to overcome this
problem. I am not using Axiant, but powerhouse for Windows and I had the
same problem for dataloads.

Since I run more than one client application on my PC at a time, I
create only one environment variable for each application and added it
to my autoexec.bat, ie:
SET SYSTEM=c:\source\System

To get around PH not remembering things when is "spawns" a new process I
had to create separate .bat files for each PH function:
QTS.BAT to point to the source directory,
QTC.BAT to point to the executable directory,
Etc.

This all worked great, I built the application and everything started to
fall into place....UNTIL I tried to load the datafiles. I couldn't get
this to work. What I ended up doing was creating another Shortcut and
hard coding the following options:
"Start in" c:\source\system\convert\datafiles
"Target" C:\Source\System\bin\qtc.bat TEST

Hope this helps. I know I was pulling my hair out in the beginning of
development on this platform.
Ken




More information about the powerh-l mailing list