Dan Ullman
09-05-2006, 06:22 PM
I use the following Code:
Productkey_result = File.Run(_TempLaunchFolder.."\\add-on.bat", "", "", SW_SHOWNORMAL, true);
When this code is ran I get the following as the batch file runs:
D:\>Productkey AIS xxxxxxxxxxxxxxx /q
'Productkey' is not recognized as an internal or ....."
D: in this case is the CD rom. Three files, hasp.exe, add-on.bat and productkey.exe are all installed a primer files. Hasp.exe runs without a problem. Add-on.bat wants to run from the CD rather then the (_TempLaunchFolder .
This is what the actual command looks like in the batch file:
ProductKey AIS t1nvtpj1ttivvjci /q
Any clues?
Productkey_result = File.Run(_TempLaunchFolder.."\\add-on.bat", "", "", SW_SHOWNORMAL, true);
When this code is ran I get the following as the batch file runs:
D:\>Productkey AIS xxxxxxxxxxxxxxx /q
'Productkey' is not recognized as an internal or ....."
D: in this case is the CD rom. Three files, hasp.exe, add-on.bat and productkey.exe are all installed a primer files. Hasp.exe runs without a problem. Add-on.bat wants to run from the CD rather then the (_TempLaunchFolder .
This is what the actual command looks like in the batch file:
ProductKey AIS t1nvtpj1ttivvjci /q
Any clues?