I am creating a batch file i am on a path
C:\\Validation\\docs\\chm
I want to move back to the
C:\\Validation part
The direct answer to your question would be
cd ..\..
But cd /D C:\Validation also works.
cd /D C:\Validation
The problem is more likely with the variable than then command.