Reputation: 91
I have a VBS files, for which parameter is a folder. when i run this file from CMD i want it to take current selection of folder as parameter to it.
Upvotes: 9
Views: 7048
Reputation: 24759
%CD%
will give you the current directory
Upvotes: 10