How to pass current directory as parameter in CMD

I have VBS files for which the parameter is a folder. when I run this file from CMD, I want it to execute the current folder selection as a parameter.

+4
source share
1 answer
%CD% 

will give you the current directory

+5
source

Source: https://habr.com/ru/post/1501399/


All Articles