Furthermore, you should NEVER initialise the PATH variable because it is being used by the system. Your initialization will erase it's system set value.
If you EVER have to initialise it, ALWAYS initialise it as follows:
No SET, no double quotes. Just as you would type on a command prompt manually. In fact, I would suggest not to initialise a variable JAVA_HOME if it used exclusively for this purpose. Just use the full command as in:
Is CREO_HOME environment variable is likely to exist before? Assuming no, the line should be:
@echo off
SET CCREO_HOME="C:\Program Files\PTC\Creo 2.0\Common Files\M100"
Notice the double quotes.
I think you are executing the .bat file jlink-first-master folder, if yes, this batch file (the new you are creating should be in same folder. So, line 4, not required.
Why do you need OPATH, it is not used anywhere. Get rid of it.
Nitin SontakkePosted Feb 21, 2017, 2:02 AM
Nitin SontakkePosted Feb 21, 2017, 7:52 AM
Dinesh SanthalingamPosted Feb 21, 2017, 7:43 AM
Nitin Sontakke
Nitin SontakkePosted Feb 21, 2017, 1:58 AM
Dinesh SanthalingamPosted Feb 21, 2017, 1:14 AM
Nitin Sontakke
Nitin SontakkePosted Feb 21, 2017, 12:47 AM
Dinesh SanthalingamPosted Feb 20, 2017, 10:50 PM
Nitin Sontakke
Nitin SontakkePosted Feb 20, 2017, 10:33 PM
Dinesh SanthalingamPosted Feb 20, 2017, 10:25 PM
Nitin Sontakke
Nitin SontakkePosted Feb 20, 2017, 8:56 AM