Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Assume a psuedo command:

 psuedocmd.exe

It has various parameters like:

/scan  /save  /savefolder

Now i want to run psuedocmd.exe using batch file. And i would like to use parameters too. I am using the following line in batch file

psuedocmd.exe /scan /save

But in this case psuedocmd.exe is running without the parameters.

share|improve this question
1  
Strange, that should normally work. Maybe psuedocmd.exe needs the savefolder-parameter if the save-parameter is used? You could try replacing the / with -. You could also try upper-casing the parameters. Does something basic like DIR /B in your batch-script work as intended? – GitaarLAB Apr 19 at 9:20
DIR /B works fine.The order is correct,as it works when i put the same command on cmd prompt. – user2223380 Apr 19 at 9:45
1  
Note, my first comment did not talk about order.. Anyway, we might need to know what that existing non-hypothetical 'mysterious' psuedocmd.exe actually is (is it perhaps Acunetix Web Vulnerability Scanner ? If it is, I know the answer). This way others can try to reproduce the behavior, or scour the internet about possible bugs that might lead to this (unexpected) behavior. – GitaarLAB Apr 19 at 10:07
1  
Try psuedocmd.exe /? – RGuggisberg Apr 19 at 11:06
Well.. you've been online 4 hours ago.. tell us what pseudocmd.exe is (so I can finally give the answer :P ) – GitaarLAB Apr 19 at 18:22

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.