Answered by:
Command line parameters used twice

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?Monday, October 29, 2018 1:37 PM
Answers
-
- Proposed as answer by Richard MuellerMVP, Banned Monday, October 29, 2018 2:06 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 6, 2018 1:56 PM
Monday, October 29, 2018 1:46 PM -
I'd ask for scripting help over here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Monday, October 29, 2018 2:06 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 6, 2018 1:56 PM
Monday, October 29, 2018 1:53 PM
All replies
-
- Proposed as answer by Richard MuellerMVP, Banned Monday, October 29, 2018 2:06 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 6, 2018 1:56 PM
Monday, October 29, 2018 1:46 PM -
I'd ask for scripting help over here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Monday, October 29, 2018 2:06 PM
- Marked as answer by Richard MuellerMVP, Banned Tuesday, November 6, 2018 1:56 PM
Monday, October 29, 2018 1:53 PM