BOOLEAN WINAPI CreateSymbolicLink(
__in LPTSTR lpSymlinkFileName,
__in LPTSTR lpTargetFileName,
__in DWORD dwFlags
);
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
CreateSymbolicLink((LPCTSTR)_T("explorer.lnk"), (LPCTSTR)_T("C:\\Windows\\explorer.exe"), 0);
return 0;
}
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |