|
-
April 26th, 2001, 09:33 AM
#1
CreateHardLink
There's CreateHardLink API function in Win2K that creates hard links to files.
Can anyone help me with an example of using it in VB? I do not know how to pass parameters correctly
TYA
-
April 27th, 2001, 08:39 AM
#2
Re: CreateHardLink
Use this, I haven't tried it but it should work:
Declare Function CreateHardLink Lib "Kernel32" (lpFileName as string, lpExistingFileName as string, lpSecurityAttributes as Any) as Long
Then use as
lngReturn = CreateHardLink ("Myfilename","MyExistingFileName",0&)
TimCottee
I know a little about a lot of things and a lot about very little.
Brainbench MVP For Visual Basic
http://www.brainbench.com
MCP, MCSD, MCDBA, CPIM
-
April 27th, 2001, 09:41 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|