ctypes.windll.LoadLibrary("kernel32.dll") is not creating symbolic links when not in admin mode. is it possible to copy this dll into D: and read from there. What are the repurcussions if any.
import ctypes
inpt = "D:/mayaslate/symlink/ssh0155_plate.0003.jpg"
output = "D:/imagesequence/ssh0155_plate/ssh0155_plate.1003.jpg"
kdll = ctypes.windll.LoadLibrary("D:/mayaslate/kernel32.dll") <--- is this possible
kdll.CreateSymbolicLinkA(inpt , output, 0)
即使您从其他位置加载dll
文件,您仍然没有任何管理员权限。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.