G
Guest
I'm trying to reference the current Window's user's desktop with some code; I
am using the following:
C:\Documents and Settings\%userprofile%\Desktop
When I run the code I get a "Path not Found" message. Just to test, I took
out "%userprofile%" and inserted the actual user name and the code ran fine,
so I'm almost positive that that's the problem. Is that not the correct way
to reference the current user's profle? Any help would be appreciated.
am using the following:
C:\Documents and Settings\%userprofile%\Desktop
When I run the code I get a "Path not Found" message. Just to test, I took
out "%userprofile%" and inserted the actual user name and the code ran fine,
so I'm almost positive that that's the problem. Is that not the correct way
to reference the current user's profle? Any help would be appreciated.