Not able to pass command line parameters

Since a while ago, I cannot pass any command line parameters to a windows program. It seems like it's just ignoring the extra parameters I am sending.

Command switches in a DOS box do work however.

ie. Running a HLDS server with a shortcut (hlds.exe -game blabla) , starting any game with parameters .

I suppose it should have something to do with a wrapper that is around all my exe files or something, but cannot find any info about this strange behaviour.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

put the command line in quotes; "-game blah etc"
ProfidiamAuthor Commented:
This does not work either, when I run the command with parameters from another "helper" program, like HLSW or gamespy, the extra parameters are ignored.

Your suggestion, to try
D:\games\Half-Life\hlds.exe "-game cstrike"
in the "target" window doesn't help. I cannot put the entire command in quotes, because windows won't let me.
wrong way round - put the initial string in quotes

"d:\games\half-life\hlds.exe" -game cstrike
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

ProfidiamAuthor Commented:
I should have said this more clearly, but chenging the quote doesn't help me either
Have you tried with MS Windows apps too? Something like excel myfile.xls from Start, Run does running ?
ProfidiamAuthor Commented:
this is also something that doesn't work, I created the file, and from the same dir. I tried excel test.xls , and it opened  a new workspace, and not the specified xls file.
This question is still open and getting old. If any of the comment(s) above helped you please accept it as an answer or split the points who ever helped you in this question. Your attention in finalising this question is very much appreciated. Thanks in advance,


- If you would like to close this question and have your points refunded, please post a question in community support area on giving the address of this question. Thank you      


Cleanup Volunteer

PAQed, with points refunded (75)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.