Running a Python program thru a Windows shortcut

John Roth johnroth at ameritech.net
Sun May 11 21:46:44 EDT 2003


"Patrick Useldinger" <uselpa at myrealbox.com> wrote in message
news:3ebeb37c_1 at news.vo.lu...
> Hello,
> I've written a small, non-GUI program that I am running from the
command
> line. This works OK, but I can't figure out how to run it from a
Windows
> shortcut placed on a desktop.
> The command I execute manually is: dfc dfcCfgBackup, wth dfc being a
> Python program, and dfcCfgBackup being a parameter file that is passed
> as an argument.
> Can anybody provide me with an example on how to do this?
> -Patrick

It's probably easiest to set this up as a batch file.

John Roth
>






More information about the Python-list mailing list