|
Re: paper: Drivetrain Acceleration Model
Hi Brendan,
Just saw your post. I will try to help you solve the problem.
In Windows, file extensions of the type "exe" have priority over extensions of the type "bat" when searching for a file to execute when the filename (without extension) is typed in a command window.
So when you type the filename "drivetrainModel" without extension, it executes drivetrainModel.exe instead of drivetrainModel.bat... and the bat file never gets executed and so it never has a chance to set the environment variables that the exe file is expecting.
There are 3 different ways to solve the problem you are seeing:
1) Force windows to execute the bat file by typing the full filename with the extension: drivetrainModel.bat
2) Rename the bat file to a different name, like for example "test.bat". Then just type "test" in your command window. Assuming there is no "test.exe" in the default directory, Windows will find "test.bat" and execute it.
3) Don't use a command shell. Instead, navigate to the folder in Windows and double-click on the drivetrainModel.bat file
Two more things to be aware of:
a) In your post, drivetrainModel is mis-spelled as "drivetratinModel.bat".
b) If you edited the bat file to use a filename with spaces in it, you should put the filename in quotes, like this: "my filename.CSV"
Please let me know if this fixes the problem.
Last edited by Ether : 13-01-2017 at 13:19.
|