在Powershell v5中,我正在尝试加载ianywhere提供程序dll。我得到了这个加载器异常:
 : The term 'Â' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
很奇怪,对吗? 我的加载命令是
Add-Type -path "C:\Temp\sa\iAnywhere.Data.SQLAnywhere.v4.0.dll"
ianywhere dll需要附带的本机dll,我把它放在同一个文件夹中。它有两个版本,32位和64位。我已经尝试了两种,我尝试过32位PowerShell和64位PowerShell。我的shell也以管理员身份运行。