?Invalid Command

when i am executing the script i am getting ?Invalid command though the script is right.
Could any one please let me know how to overcome this problem. Urgent Please

Thanks a lot in advance

And since I cannot read the script and the error message from your system :), can you please provide them here?

... and
Please also post the script after using this "sed" command to make invisible characters visible. This will help eliminate common problems caused by M$ editors and faulty keyboard setup.

sed -n l scriptname