I need some help in writing a batch file. I have a path stored in a variable root as follows:
set root=D:\\Work\\Root
Then I am changing my
Specify /D to change the drive also.
/D
CD /D %root%