something like os.link() for NTFS?
Neil Hodgson
neilh at scintilla.org
Sat Jul 15 20:31:19 EDT 2000
More information about the Python-list mailing list
Sat Jul 15 20:31:19 EDT 2000
- Previous message (by thread): Neil Schemenauer's GC patch in python1.6?
- Next message (by thread): something like os.link() for NTFS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hard links exist under NTFS. Does anyone know of a Python function for NT > under NTFS that does what os.link() does under UNIX? If not, is there a > technical reason why it isn't a good idea? While hard links exist on NTFS, they are only creatable by Win32 applications on Windows 2000. The CreateHardLink(newName, oldName, securityJunk) function is the API to use. Earler versions of NT did not support this function but did allow POSIX applications to create hard links. So you could have Windows 2000 specific code or solve this by creating a small POSIX subsystem utility and execute that with os.system or similar. Looks like CreateHardLink is not yet in the Win32 extensions. Neil
- Previous message (by thread): Neil Schemenauer's GC patch in python1.6?
- Next message (by thread): something like os.link() for NTFS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list