Strip first 3 characters and replace the last?
Posted: 15 Dec 2016 14:35
Hi Folks -
I have a variable called %MAINPATH% which is the following:
SET MAINPATH=C:\Hyperion_Batch\
What I need to do is strip the first 3 characters (C:\) and replace the last (\) with /. Can this be done in 1 fell swoop? Thanks!
I have a variable called %MAINPATH% which is the following:
SET MAINPATH=C:\Hyperion_Batch\
What I need to do is strip the first 3 characters (C:\) and replace the last (\) with /. Can this be done in 1 fell swoop? Thanks!