ebolonev at mail.ru
Wed Dec 8 11:29:27 CET 2004
On Wed, 08 Dec 2004 10:23:13 +0100, Peter Maas <peter at somewhere.com> wrote:
> Egor Bolonev schrieb:
>> far file manager said 'C:\Documents and Settings\Егор\My
>> Documents\Scripts\Antiloop\' is link
>> how to detect ntfs links?
> There are no ntfs links. What appears as a link on GUI level is
> nothing but a plain file with special content, so that
> os.path.islink() tells the truth. Windows "links" are a special
> Windows feature (shortcuts) and must be detected via Win32 api
> calls or by searching for content characteristics of shortcuts.
gui folder link is a .lnk file
More information about the Python-list