Re: [dabo-users] how to make afile to run cmd in W Vista?

Author: Ed Leafe

Posted: 2009-11-12 at 23:12:52

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: Dabo-users@leafe.com

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/30E29136-1090-4467-899F-D70DAD676905@leafe.com

©2009 Ed Leafe