I have to use plink to execute cmd to unzip file by using a 7z.exe at remote desktop
C:\windows\system32>C:/E2EPerformance/tool/PROD/STCP/BreadcrumbCollector/binary/plink.exe -ssh -l admin -pw pass IP cmd.exe /c cd 7z.exe x D:/PostProcess/Processed/20150417_01.zip -oD:/PostProcess/Processed/temp
it's procedure error :
The filename, directory name, or volume label syntax is incorrect.
and
C:\windows\system32>C:/E2EPerformance/tool/PROD/STCP/BreadcrumbCollector/binary/ plink.exe -ssh -l reutadmin -pw Trin.netS 172.27.27.103 cmd.exe /c 7z.exe x D:/P ostProcess/Processed/20150417_01.zip -oD:/PostProcess/Processed/temp
I got: Access is denied. but I accessed to remote desktop
Aucun commentaire:
Enregistrer un commentaire