scripts no longer running (solaris 8)

hello:

I am a somewhat experienced unix user, but brand new to this forum. I am encountering a strange new problem.

I have a shell script called foo.ksh it has been running for years (literally) on my Sun (Solaris 8) machine.

Recently we put a version of samba on this machine to streamline a backup process. now I can no longer run this script.

I have checked and reset the permissions on the file to 777 just to make sure. I have copied the file to another file name. nothing allows this to run.

Any help would be most appreciated.

Thanks

smcadoo

The system is saying that the script is not found. Yet I can list it, more it and edit it.

I simply cannot run it without reading

foo.ksh not found

Your PATH probably does not have . anymore (which is a good thing!). Try:
./foo.ksh

puts unwanted marker ^M at the end of every line.

Really gums up the works.

Thanks for helping me.