• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to call .bat file with parameter using cep engine

New Here ,
Jul 18, 2017 Jul 18, 2017

Copy link to clipboard

Copied

I am calling .bat file with parameter using cep engine as follows,

cep.process.createProcess("C:/Users/CS86/Documents/CSCache/Downloaded Packages/MyBat.bat","myParameter");

it is not calling .bat file.

But if I call this .bat file without parameter it works fine.

TOPICS
Scripting

Views

406

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2017 Jul 18, 2017

Copy link to clipboard

Copied

Moving to InDesign Scripting forum

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

But if I call this .bat file without parameter it works fine.

You mean in the cep context or outside of it ?

Did you try running it from another application ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 24, 2019 Sep 24, 2019

Copy link to clipboard

Copied

LATEST

I have the same issue. Did you find a solution or workaround?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines