> I have given the admin privileges for my drive but still os.system won't
> work :(
>
Are you saying you applied "Administrator" privileges to the
drive/folder? If so, are you executing your script as a normal user or
as "Administrator"? Example: In order to run something from the
command prompt a
> #!/usr/bin/env python
>
> import os
>
> global name_wo_ext
>
> name_wo_ext = "d:\\fun"
>
> os.system("mkdir %s" % (name_wo_ext))
>
>
>
> This gets executed well but there is no directory created L I tried with
> another command as below and it works for me
>
This is not a problem with os.system.
On 03/01/2013 08:07 AM, Vijay Kumar R wrote:
I was using python for some application which used to create directories and
also to run some exes using the os.system command from a program.py file
which was working fine. For some reasons I got my system formatted and got
the windows 7 installed.
>I was using python for some application which used to create directories and
>also to run some exes using the os.system command from a program.py file which
>was working fine. For some reasons I got my system formatted and got the
>windows 7 installed.
>
>Now again I installed python and trie
I was using python for some application which used to create directories and
also to run some exes using the os.system command from a program.py file
which was working fine. For some reasons I got my system formatted and got
the windows 7 installed.
Now again I installed python and tried runnin