18
5
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?
This was already explained in both existing answers. If you like them, try to gain some reputation and upvote them when you have 15 rep.
– gronostaj – 2015-07-30T20:19:25.263Welcome to Super User! This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute. – DavidPostill – 2015-07-30T20:37:09.007