Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running a batch file containing the following:

C:\Utilities\FDD_TEST\FDD.exe -actions=C:\Utilities\FDD_TEST\FDDBatch.cfg

But it fails to run.

Is the -actions parameter a valid parameter? If so, what could likely be the cause why that batch file does not run?

Thanks

share|improve this question

closed as unclear what you're asking by Canadian Luke, Tog, Excellll, Breakthrough, Shekhar Aug 1 '13 at 16:36

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Whether -actions is valid or not depends on the program this batch file is trying to run. What is this FDD.exe ? –  Levans Jul 30 '13 at 11:25
    
it is an application that compiles a bunch of files into a single file –  DextrousDave Jul 30 '13 at 11:45
    
Sure, but can you link the website of this tool ? And have you checked in its documentation if it accepts the parameter -actions ? –  Levans Jul 30 '13 at 11:57
    
it is a custom application. and it is not hosted anywhere.It also do not have any documentation.So you are saying that the -actions param is a custom one as well, and not a standard batch command? –  DextrousDave Jul 30 '13 at 12:01

1 Answer 1

up vote 2 down vote accepted

In this situation, the part -action=... is not interpreted by Batch, and it only depends on your program FDD.exe.

In Batch, when you call

C:\Path\To\My\Exe.exe /option1 -option 2 arg1 ...

All the content following the .exe path is given directly to the called program. On my example, Exe.exe will receive as arguments /option1 -option2 arg1 ..., and it's up to it to use it or not, and how to use it. It none of Batch concern.

Then, you should check this FDD.exe program, to find out what is the syntax it expects.

share|improve this answer
    
Thank you for your answer, that is what I wanted to know. –  DextrousDave Jul 30 '13 at 12:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.