I'm creating a command for cmd for which I need to receive text values from cmd and execute them into the batch file. The name of the batch file is abc.bat, which is copied in the default folder of my cmd path.
My Command would be like:
abc some text
ABC.bat looks like:
@echo off
echo %x%
Now I want variable x to get the value "some text" So that whenever I execute
abc qwerty
the command line prints
qwerty