On Fri, Feb 25, 2011 at 22:39, Steve Willoughby <st...@alchemy.com> wrote:

>
> One question you need to figure out is how interactive you want this to be,
> or how automated.  That will drive the implementation of what comes after.
>  As will the list of available options at your site for securely allowing a
> remote host to run administrative tools on your windows systems.
>
>
> I am pretty basic and no-frills about programs, particularly ones that are
utilities for my own use.   I am one of those admins that has full
administrator privs on the site workstations, so I am able to run anything I
like on or against these systems.   I am envisioning a little command line
program that would work like this:

$python get_set_env.py -c some_computer_name
This would then just dump the system environment variables of
some_computer_name

$python get_set_env.py -c some_computer_name -e UG_SHOW_MOD True
On the system some_computer_name, this would edit the system environment
variable UG_SHOW_MOD to a value of True.

$python get_set_env.py -c some_computer_name -s UG_RUN_DIR  C:\UGII
On the system some_computer_name, this would create the system environment
variable UG_RUN_DIR and set it to the value C:\UGII

--Bill
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to