Everytime I set classpath (using set classpath command)via command prompt it remains set only as long as that instance of cmd is running. But when I close cmd and open it again and then echo the classpath I get nothing. How do I remedy this? Also, I don't want to set it via control panel since I'm required to do it using a bat file. (I could find the classpath variable in controlpanel>system but it only had a '.' as its value. Should I change anything there?)Thanks