0
,所以我接受在PowerShell中nConvert無法創建文件
.\nconvert.exe : Error: Can't create file (\\vm912test\c$\JCL Testing\Converted Output\2013\06\MMM7777.pdf)
At M:\Powershell\test4.ps1:61 char:8
+ .\nconvert.exe -quiet -out pdf -c 3 -multi -n 1 $PageCount 1 -o "$OutputL ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( Error: Can't ...06\MMM7777.pdf):String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
以下錯誤。如果任何人有任何與nConvert工作經驗,可以幫助將是巨大的。
,我使用的代碼行是:
.\nconvert.exe -quiet -out pdf -c 3 -multi -n 1 $PageCount 1 -o "$OutputLocation\$Year\$Month\$BusinessUnit$CheckNumber.pdf" "$TIFPath\$pattern####.tif"
當您從dos提示符下運行時,您正在使用的命令行是否正常工作? – Jimbo
是命令行在dos提示符下工作。 – Peter3