Hi,

I want to execute windows system command "shutdown" through python,
os.system( ). I can do it in a 32 bit Windows,
But not in 64 bit Windows where as I do have admin rights to run the
"shutdown " command and which is working in windows command prompt.

python ver. 2.5
Exp.

*import os
os.system("shutdown /?")*

*its saying "shutdown is not an internal or external command or executable
batch file"*

Thanks,
Abhilash
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to