[python-win32] Symbolic links/junctions in windows

2006-10-25 Thread Roger Upole
"Marc Dubrowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Mark, thanks for your answer. > > I'm afraid I have not been clear enough in the the description of what I > want to do: i want symbolic links, also called junctions by microsoft. > > For the moment, the management of

Re: [python-win32] Symbolic links/junctions in windows

2006-10-23 Thread Mark Hammond
> But I guess it would be better for my scripts (create_user, > modify_users, delete_users) if they could just call the win32 > api instead of using os.popen(). > Is there a way to accomplish this ? If pywin32 exposes the functions you need, then sure, you can call them! I assume you are look

Re: [python-win32] Symbolic links/junctions in windows

2006-10-23 Thread Marc Dubrowski
Hi Mark, thanks for your answer.I'm afraid I have not been clear enough in the the description of what I want to do: i want symbolic links, also called junctions by microsoft.For the moment, the management of properties on files and folders is disastrous: some users can more less do what they want

Re: [python-win32] Symbolic links/junctions in windows

2006-10-23 Thread Mark Hammond
Once AD has given you the path name, you can use the win32com.shell module to manage the shortcuts.  Check out the pywin32 help file - the main page has a link to "win32com.shell and Windows Shell Links" with some info - also look in the win32comext\shell directory for tests and samples.   M

[python-win32] Symbolic links/junctions in windows

2006-10-23 Thread Marc Dubrowski
Hi all,In the context of maintaining groups in active directory, I would like to create links to the group directories in the home drives of the users.Is there a way to create such links/junctions with python ? Where could I find some documentation? Thanks in advance-- Marc Dubrowski __