DOS or not? [was Re: How to tell Script to use pythonw.exe ?]

Wayne Werner wayne at waynewerner.com
Thu Jul 4 10:08:18 EDT 2013


On Wed, 3 Jul 2013, Dennis Lee Bieber wrote:

> 	Consider that the Powershell default is to /prevent/ execution of
> script files unless some security settings have been changed; even local
> script files need to be "signed" to be executed.

Protip: No they don't - wrap it in a cmd/bat file and have it launch 
powershell[1]:

powershell -ExecutionPolicy Bypass -File ...


\o/

Microsoft "security" at it again! (reminds me a bit of just pushing 
"Cancel" to log into windows 98, I think it was)

-W

[1]: http://stackoverflow.com/q/728143/344286



More information about the Python-list mailing list