Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to read 12|11|13 from command line from my application. I get error "11 is not recognozed as an internal command" while reading this string.

I am OK if I can read complete string or individual numbers.

Can anyone suggest how to read this?

Nipun
Posted

1 solution

the command interpreter interrets '|' as a pipe sign

if you enclose that parameter like so (quotes) :-

"12|11|13"

if should be passed into your program successfully
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900