Jump to content

Recommended Posts

Posted

I must be doing something stupid.

At the Windows command line this works:

"C:\Program Files\pandoc-3.7.0.2\pandoc.exe" -s "F:\jonf\Downloads\pebakery-docs\Commands\Archive\CopyOrExpand.md" -o "F:\jonf\Downloads\pebakery-docs\Commands\Archive\CopyOrExpand0.html" --template "E:\PhoenixPE\PhoenixPE Help Source\Tools\PEBuilderMD.html" --metadata title=CopyOrExpand

This doesn't:

$Pandoc = '"C:\Program Files\pandoc-3.7.0.2\pandoc.exe"'
$Command = ' -s "F:\jonf\Downloads\pebakery-docs\Commands\Archive\CopyOrExpand.md" -o "' &  _
'F:\jonf\Downloads\pebakery-docs\Commands\Archive\CopyOrExpand0.html" --template "' &  _
'E:\PhoenixPE\PhoenixPE Help Source\Tools\PEBuilderMD.html" --metadata title=CopyOrExpand'
$Return = RunWait($Pandoc, $Command)
MsgBox(0,"Info",$Command & @CRLF & @CRLF & "Return = " & $Return & " @error = " & @error)

Message.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...