Hi All

I need to convert a .sh file to .bat file in order to run the script in WINDOWS.
I have a sample .sh file.
----------------------------------------------
#!/usr/bin/ksh

# this script take a input param.

if [ "$#" -eq "0" ]; then
echo "please enter a log file name and path"
else

FileName="$1"
if [ -e $FileName ]; then
echo "Starting Time Stamp"
head -n 1 $FileName | cut -b17-35
echo "End time Stamp"
tail -n 1 $FileName | cut -b15-33
else
echo " the file not found"
fi
fi
----------------------------------------------


Can anyone please guide me how to write this script as a .bat file


Thanks in Advance
Aravind