Invoke Power Shell problem

Hello everyone,

I have a problem with Invoke Power Shell.

i need run PDF with powershell and i use activiti “Invoke Power Shell” with this CommandText:

“C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe /A " + strings.Chr(34) + “zoom=175” + strings.Chr(34) + " " + strings.Chr(34) + “C:\test.pdf” + strings.Chr(34)”

I get this Fail:
Invoke Power Shell: The term ‘C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe /A “zoom=175” “C:\test.pdf”’ 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.

Please, help me :).

Thank a lot

Can you try mentioned as follows:

So I finally solved it through VB.Net code :slight_smile:


Process.Start (“C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe”, _
“/A ““zoom=” + StrPercent + “”” “”” + StrPath + “”"")

It opens a PDF with arguments that are taken from variables.

Maybe it will help someone.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.