Under Vista, I'm attempting to perform a:
Delete "$DESKTOP\foo.exe"
But it appears that it doesn't work.
I have:
RequestExecutionLevel admin
set, and it doesn't matter if I change the context
SetShellVarContext all
which should default to the local user if there aren't perms.
I'm using the most recent 2.30 release.
Suggestions?
Vista and Desktop EXE Deletion
5 posts
maybe foo.exe is in used
no, foo.exe is not in use.
use
MessageBox mb_ok "$DESKTOP\foo.exe"
and make sure the path is correct
MessageBox mb_ok "$DESKTOP\foo.exe"
and make sure the path is correct
which should default to the local user if there aren't perms.Where did you read this? As far as I know, it only gives the user's path for older systems (From helpfile "The all users folder may not be supported on all OSes. If the all users folder is not found, the current user folder will be used.")
open a command box
and type "del " followed by the path displayed by the messagebox for $DESKTOP\foo.exe (enclosed in quotes)
what does it say ?
or maybe it's a shortcut... foo.exe.lnk ?
and type "del " followed by the path displayed by the messagebox for $DESKTOP\foo.exe (enclosed in quotes)
what does it say ?
or maybe it's a shortcut... foo.exe.lnk ?