os.link & NTFS 5
Wolfgang Strobl
wks000 at t-online.de
Fri Dec 27 14:41:02 EST 2002
martin at v.loewis.de (Martin v. Löwis):
>Wolfgang Strobl <wks000 at t-online.de> writes:
>
>> >Correct, this is no equivalent. You could almost say there is no
>> >equivalent on Win32, any programming language, period. I know this is
>> >not a precise description of the current state, but quite close to it.
>[...]
>> works quite well for creating hard links on w2k and XP.
>
>Right. Now, how do I use this in a binary that needs to run on W9x and
>WNT as well?
You don't. The original question was about WinXP, though.
| I'm looking for the equivalent of os.link and os.symlink for Python/WinXP
| (i.e., NTFS 5). These functions seem to be available only on Python/UNIX.
| They're also available on Python/Cygwin.I haven't found anything similar to
| this for Win32 platforms.
>
>> For an equivalent to symlinks, I'd try NTFS Junction Points
>
>This isn't really an equivalent: the target file name must denote a
>directory.
If I'm not mistaken, that's just what the OP needed.
--
Wir danken für die Beachtung aller Sicherheitsbestimmungen
More information about the Python-list
mailing list