I am using a batch file to create a model using a python script that I have written
The scripts are located in various folders.
I need to save the model generated in the same folder.
I am using
file_save_location,tail=os.path.split(_ file _)
to get the path of the script that is currently running.
This gives me the file_save_location when I run the Rhino through the PythonEditor
But does not work when I call it through the batch file.
Can anyone tell me what is going wrong here.