Command line parameters used twice RRS feed

  • Question

  •   I have a batch file that runs an Excel workbook with parameters on the same line. Excel takes in the parameters and runs its calculations based on these parameters. However, after Excel has run, the command processor processes all the parameters again, and I get a bunch of errors that say "Sorry. we couldn't find .... Is if possible it was moved, renamed or deleted?". There are several parameters on the statement that runs Excel and they are in double-quotes. How do I prevent the command processor from re-processing these parameters as separate statements? 
    Thursday, October 25, 2018 1:00 PM

All replies

  • Hi RaghavaIDrive,

    This forum(Excel for Developers) is for issues related to Excel Object Model and your issue is related how to prevent the Command line, I will move your thread to Where is the Forum For…? so someone could tell you where to go ask your question.

    Thanks for understanding.

    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.

    Friday, October 26, 2018 6:36 AM
  • Where am I supposed to find my post?
    Monday, October 29, 2018 1:25 PM