Get current folder name by a DOS command?
In my batch file, I have,
SET currentFolder=%CD% echo "%currentFolder%"
Prints the whole directory path.
I need to get
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.