At the end of a batch file, I have this command:
CD /D C:\
I want to change the directory to C:\ but the line doesn't do a thing.
This is what is on the screen:
D:>CD /D C:\
D:>
At this moment, if I enter manually "CD /D C:\", I can change directory to C:.
What should I do to make it work?