View Single Post
# 5 20-01-2007 , 05:48 PM
enhzflep's Avatar
Subscriber
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Maybe there is, maybe there is...

I've just tried a different trick, and that worked for me.

I just made a batch file that's got that command in it and then ran the batch file from inside maya.

Try this:

1) Create a new text document
2) Enter the following line

F:\Programfiler\Windows NT\Pinball\PINBALL

3) Save As "C:\RunPinball.bat"
4) try to execute this in maya

system("C:\\RunPinball.bat")
__OR___
system("C:/RunPinball")


That fixed the prob I had with the text file not opening.
Yes, I do realise there's a difference between the direction and number of slashes. This is correct.

EDIT: as is the lack of a file extension in the second instance.

Simon