my program needs to read command line parameters.
So i am using paramstr to get the values , however i have a small problem when command line contains the character > or |
This problem only comes when i call my program though a batch file , if i type the same command through START-RUN option then it works fine.
anything after those characters is lost
example if command line is
myexe.exe hello there
then program reads hello there correctly
however if it is
myexe.exe hello > there
then program reads only hello , it seems it looses > there
can anyone help me with this one ?I want to get entire command line