How can I find out (with Windows a batch command), if, for example, a variable starts with ABC
?
I know that I can search for variables if I know the whole content (if "%variable%"=="abc"
), but I want that it only looks after the beginning.
I also need it to find out where the batch file is located, so if there is a other command that reveals the file's location, please let me know.