How can I remove
// remove absolute path string from fullPath string
set abs_p=C:\abspath\
set rel_p=C:\abspath\foo\boo\bar
How can I remove the abs_p from the rel_p?
I’m not getting the syntax working
set rel_p=%rel_p:abs_p=%
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.
For your sample input this script produces