Quantcast
Channel: PDFCreator - pdfforge forums
Viewing all articles
Browse latest Browse all 2628

Command Line Parameters invalid

$
0
0

@mango2031 wrote:

Hi
Running the following command in windows powershell and receive an error regarding invalid parameter expressions

PS C:> “C:\Program Files\PDFCreator\PDFCreator.exe” /PrintFile=“C:\Users\Public\Public Temporary\test.jpg” /PrinterName="JS"
At line:1 char:47

  • “C:\Program Files\PDFCreator\PDFCreator.exe” /PrintFile="C:\Users\Pub …
  •                                           ~
    

You must provide a value expression following the ‘/’ operator.
At line:1 char:47

  • … eator.exe" /PrintFile=“C:\Users\Public\Public Temporary\test.jpg” /Pr …
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

Unexpected token ‘PrintFile=“C:\Users\Public\Public Temporary\test.jpg”’ in expression or statement.
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ExpectedValueExpression

Appreciate any assistance
Thanks
mango

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2628

Trending Articles