there are two directories
C:\a\b
C:\a\c
well iam in say directory
c:\a\b
when i do a set classpath=%cd%
the directory C:\a\b gets assigned to the classpath variable
but i want to assign C:\a\c to classpath
How can i do that ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need to set classpath to sister directory of the one you are currently in, you can use this:
This will set classpath to folder
cthat is in the parent folder of you current directory (i.e. sister folder).