G
Guest
I want to define a desktop shortcut that launches Explorer in the user's
"%USERPROFILE%\Application Data" directory.
If I enter it as above (with the %USERPROFILE% inside the quoted string), I
get a "Name not valid" error. If I leave off the quotes, it opens Explorer
in the USERPROFLIE directory and not the "%USERPROFILE%\Application Data"
directory. It is probably seeing the embedded space, trying to go to
"%USERPROFILE%\Application", not finding it, so staying in the USERPROFILE
directory.
I've tried every variation on quotes, single quotes, back quotes, extra
percent signs, ... and nothing seems to work.
Can someone please enlighten me to the magic incantation that will
concatenate the two parts of the target path?? ;-)
"%USERPROFILE%\Application Data" directory.
If I enter it as above (with the %USERPROFILE% inside the quoted string), I
get a "Name not valid" error. If I leave off the quotes, it opens Explorer
in the USERPROFLIE directory and not the "%USERPROFILE%\Application Data"
directory. It is probably seeing the embedded space, trying to go to
"%USERPROFILE%\Application", not finding it, so staying in the USERPROFILE
directory.
I've tried every variation on quotes, single quotes, back quotes, extra
percent signs, ... and nothing seems to work.
Can someone please enlighten me to the magic incantation that will
concatenate the two parts of the target path?? ;-)