Python kernel32.dll符号链接

Python kernel32.dll符号链接,python,Python,ctypes.windell.LoadLibrary(“kernel32.dll”)在未处于管理模式时未创建符号链接。是否可以将此dll复制到D:中并从中读取。如果有的话,有哪些再流通 import ctypes inpt = "D:/mayaslate/symlink/ssh0155_plate.0003.jpg" output = "D:/imagesequence/ssh0155_plate/ssh0155_plate.1003.jpg" kdll = ctypes.windll.Load

ctypes.windell.LoadLibrary(“kernel32.dll”)在未处于管理模式时未创建符号链接。是否可以将此dll复制到D:中并从中读取。如果有的话,有哪些再流通

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)
导入ctypes
inpt=“D:/mayaslate/symlink/ssh0155_plate.0003.jpg”
output=“D:/imagesequence/ssh0155_-plate/ssh0155_-plate.1003.jpg”

kdll=ctypes.windell.LoadLibrary(“D:/mayaslate/kernel32.dll”)即使您从另一个位置加载
dll
文件,您仍然没有任何管理员权限。

您能否在上述上下文中解释/确认该特定权限。您的意思是,即使我将dll复制到D:(用户拥有完全权限),您是说上述代码不会给出任何结果,因为我知道可执行文件的位置在执行期间不会影响权限。