If I try to create files in the command prompt using the commands
mkdir C:\Users\Tristan\AppData\Roaming\modinstaller\recovery
mkdir C:\Users\Tristan\AppData\Roaming\modinstaller\mods
my computer will create the files without problems.
However, if I use the commands
mkdir C:\Users\%USERPROFILE%\AppData\Roaming\modinstaller\recovery
mkdir C:\Users\%USERPROFILE%\AppData\Roaming\modinstaller\mods
the command prompt responds with
The filename, directory name, or volume label syntax is incorrect.
How do I fix this?