|I'm looking for a way to get only part of a variable. I'm having a brain fart. It's probably a simple solution.|
Ex: for /f %n in ('type file.txt') do echo %%o
Only problem is that I only want the first 5 characters of %%o. I know how to do it if it were %variable%, but this doesn't seem to work with the other type of variables.