"

char com2;
if (com2 == help)

"

i'd suggest u use an array like this:

char com2[(no.of characters)];

if(com2=="help") //notice the quatation marks in help.ls should also be enclosed in // quatation marks.

alternatively u can also declare com2 to be a string variable.