Hello..
below is a shell script file to run in linux.. [it works n no problem at all]
my problem is, i need to change it to batch file, so i can run it in windows..
can somebody tell me how.....


#!/bin/sh
JAVA_HOME=/opt/jdk
prg="$0"

while [ -h "$prg" ] ; do
ls=`ls -ld "$prg"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
prg="$link"
else
prg=`dirname "$prg"`/"$link"
fi
done

binDir=`dirname "$prg"`
rootDir=$binDir/..
libDir=$rootDir/lib

CLASSPATH=$rootDir/conf
CLASSPATH=$CLASSPATH:$libDir/cse/cse-screenManageBackend.jar
CLASSPATH=$CLASSPATH:$libDir/cse/cse-common.jar
CLASSPATH=$CLASSPATH:$libDir/cse/cse-object-access.jar
CLASSPATH=$CLASSPATH:$libDir/cse/cse-object-wrapper.jar
CLASSPATH=$CLASSPATH:$libDir/jdbc/mysql-connector-java-3.1.12-bin.jar
CLASSPATH=$CLASSPATH:$libDir/jdom/jdom.jar
CLASSPATH=$CLASSPATH:$libDir/ognl/ognl-2.6.9.jar
CLASSPATH=$CLASSPATH:$libDir/hypersonic/hsqldb.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/ant-1.6.5.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/core-3.1.1.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/jetty-6.0.2.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/jsp-2.1.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/jsp-api-2.1.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/servlet-api-2.5-6.0.2.jar
CLASSPATH=$CLASSPATH:$libDir/jetty/jetty-util-6.0.2.jar
CLASSPATH=$CLASSPATH:$libDir/spring/antlr-2.7.5H3.jar
CLASSPATH=$CLASSPATH:$libDir/spring/cglib-nodep-2.1_3.jar
CLASSPATH=$CLASSPATH:$libDir/spring/commons-collections.jar
CLASSPATH=$CLASSPATH:$libDir/spring/commons-logging.jar
CLASSPATH=$CLASSPATH:$libDir/spring/dom4j-1.6.jar
CLASSPATH=$CLASSPATH:$libDir/spring/ehcache-1.1.jar
CLASSPATH=$CLASSPATH:$libDir/spring/hibernate3.jar
CLASSPATH=$CLASSPATH:$libDir/spring/jaxen-1.1-beta-4.jar
CLASSPATH=$CLASSPATH:$libDir/spring/jta.jar
CLASSPATH=$CLASSPATH:$libDir/spring/spring.jar

$JAVA_HOME/bin/java -cp $CLASSPATH com.compsoftengine.objectAccess.OAUtil $rootDir/conf/remoteServer.xml