On Nov 12, 2009, at 7:53 PM, jvandal wrote:

> I want to have a file that goes to cmd and then load a directory   
> that points
> to the project folder  or points to and runs class designer.py. I  
> can create
> a batch file that will point to the direcory but I am not able to  
> run  the
> cmd program


        My Windows batch file scripting is pretty rusty, but I think  
something like this would work:

cd \path\to\project
python \path\to\ClassDesigner.py ui\MyForm.cdxml

        In short, you want to cd to your project, and then call python,  
passing the absolute path to ClassDesigner.py, and also passing the  
relative path (from your project home) to the cdxml file.


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to