pl. help me to write the following linux programme in to windows base
OS or C or C++
Code:
value=0
set `date`
while [ $value -ne 5 ]
do
clear
tput smso
echo "DOTWARE AHMEDABAD TELECOMM DISTRICT DATE : $2 $3 $6"
tput rmso
echo
echo
echo
echo "COMPUTER CELL TR-BILL ACTIVITY MENU TIME : $4"
echo " -------------------------"
echo
echo
echo
echo " 1) [ 5 E S S Stream-0 ]"
echo
echo
echo " 2) [ 5 E S S Meter Tape ]"
echo
echo " 3) [ Tranfer File TO TR-BILL ]"
echo
echo " 4) [ Copy Stream-0 File from IOBAS ]"
echo
echo " 5) [ Exit ]"
echo
echo
echo -n " Enter choice 1 - 5 : "
read choice
echo
case "$choice" in
1)clear
echo " 5-ESS stream-0 DAT dump into the Computer :"
echo
cd /home/detail/data
dd if=/dev/nst0 of=/home/detail/data/yy conv=ascii
dd ibs=10000 conv=ascii if=/dev/nst0 of=/home/detail/data/ama
echo " Enter input-File Name :"
read x
echo " Enter Output-File Name :"
read y
mv $x $y
read h
sleep 2
;;
2)clear
echo " 5-ESS Meter Tape Converted in to TEXT Format :"
echo
cd /home/detail/data
dd ibs=10000 if=/dev/nst0 of=/home/detail/data/mul
dd if=/dev/nst0 of=/home/detail/data/yy
echo " Enter input-File Name :"
read x
echo " Enter Output-File Name :"
read y
mv $x $y
read I
;;
3)clear
echo " 5-ESS transfer to TR-BILL Server :"
cd /home/detail/data
ls -l
ftp 10.72.2.173
;;
4)clear
echo " Copying Stream-0 File from IOBAS :"
cd /home/iobas/Cdr_Completed
ls -l
echo " Enter the File Name to be Copied :"
read l
cp /home/iobas/Cdr_Completed/$l /home/detail/data
cd /home/detail/data
ls -l
echo " Enter Output File Name :"
read n
mv $l $n
ls -l
;;
5)clear
exit;;
esac
done