Check your linefeeds. This message is generally produced when the first line says #!/bin/bashCRLF, 'cos it's trying to run /bin/bashCR

_________________________
-- roger