Is there a way to take substrings of a string with .bat/.cmd files?
For example given the string "hello.txt" is there a way to strip the .txt?
EDIT: Also is there a more general way to do this, not under the assumption that it is a file name or file path?