I am writing a .bat script and I want to be able to execute a command which is saved in a variable without executing another .bat file. For example, dir /l.
I want to be able to do something like this
my_command = dir /L run my_command Assign the variable my_command with a string and then execute this string as a command.