cat in shell

Command "cat filename" works from cmd prompt. but cat is not found when I try to script it. can any one please correct the code.

C:\Users\src\scripts>cat "\\ser2\e$\Logs\Auth Files\Passed Auth\active.csv"
02/10/2011,Auth OK,tty1,abc
02/10/2011,Auth OK,tty2,xyz

Thanks

Try:

cat "$path"

without the backquotes..

Tried but does works..

In my opinion (untested) the command needs to go into a MSDOS Batch file with a ".BAT" extension. It is not a unix Shell command, it is a MSDOS command which you were typing at a "CMD" prompt.

To handle this in Shell we would need the MSDOS share "\\ser2\e$" to be mounted as a unix filesystem on a named mountpoint.