I need to do something similar to this:
dir > %USERNAME%.txt
But what I get is that if the filename has a SPACE(" ") in it, then the name is cut there
I know that if I do this:
set tmp=%USERNAME%.txt
I have the desired filename. So how can I add the quotes ("), or is there another solution?
