Index
2009-11-12 20:48 – jvandal : [dabo-users] how to make afile to run cmd in W Vista?
2009-11-12 20:53 – jvandal : Re: [dabo-users] how to make afile to run cmd in W Vista?
2009-11-12 23:12 – Ed Leafe : Re: [dabo-users] how to make afile to run cmd in W Vista?
Back to top
[dabo-users] how to make afile to run cmd in W Vista?

Author: jvandal

Posted: 2009-11-12 20:48:58   Link

--

View this message in context: http://old.nabble.com/how-to-make-afile-to-run-cmd-in-W-Vista--tp26328720p26328720.html

Sent from the dabo-users mailing list archive at Nabble.com.

_______________________________________________

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/26328720.post@talk.nabble.com

©2009 jvandal
Back to top
Re: [dabo-users] how to make afile to run cmd in W Vista?

Author: jvandal

Posted: 2009-11-12 20:53:18   Link

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

jvandal wrote:

>

>

>

--

View this message in context: http://old.nabble.com/how-to-make-afile-to-run-cmd-in-W-Vista--tp26328720p26328721.html

Sent from the dabo-users mailing list archive at Nabble.com.

_______________________________________________

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/26328721.post@talk.nabble.com

©2009 jvandal
Back to top
Re: [dabo-users] how to make afile to run cmd in W Vista?

Author: Ed Leafe

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

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