Page 1 of 1

Re: How to use chmod in pc....

Posted: Sun Jan 22, 2017 4:30 pm
by klricks
supra wrote:Using Windows 10; Python 3.6.0a1
How do I execute chmod in pc. I have file called hello_world.py inthat folder C:\Users\Python36\Documents\PyChat.
I want to execute chmod 755 hello_world.py or chmod +x hello_world.py
I appreciate your help.
You cannot use chmod or any other Linux command on a Windows system.
In order to use those commands the file must reside on a Linux formatted filesystem such as ext4.

If you want to run a python script is Windows then Google [How to run python script in Windows]

Re: How to use chmod in pc....

Posted: Sun Jan 22, 2017 4:37 pm
by DougieLawson
klricks wrote: You cannot use chmod or any other Linux command on a Windows system.
That's not quite true.
https://msdn.microsoft.com/en-gb/comman ... tall_guide

Re: How to use chmod in pc....

Posted: Sun Jan 22, 2017 5:20 pm
by Martin Frezman
That's not quite true.
Yeah, but who would want to?

Actually, I think I had a version of "chmod" for DOS/Windows decades ago.
I'm not sure (certainly not at the current time) exactly what it did, though.

Re: How to use chmod in pc....

Posted: Mon Jan 23, 2017 1:50 am
by peterlite
Boot your PC with a live version of Linux Mint or similar. You might eventually move to dual boot then switch most of your work over.