New
#1
All Users Desktop Files "Not Found" (Dir *.*) in Elevated Cmd Prompt
Re: Windows 7, SP1, Home Premium, 64-bit
When using Q-Dir, a 4-pane Windows Explorer replacement, I can manually move desktop files/icons between the all users a/c and my account. I created a batch file to do this, and it works fine when clicked from within Q-Dir. It does not, however work from a command prompt, even an elevated command prompt.
At the elevated command prompt, even the Dir *.* command results in a file not found error message, even though files are actually there (and are not hidden files).
This is the simple batch file:
rem C:\Users\All Users\desktop = C:\ProgramData\desktop
Move C:\ProgramData\Desktop\*.* C:\Users\ALLAN\Desktop\
@echo off
Incidentally, changing the permissions, to allow full control in the properties/security settings for the All Users desktop does not have any effect with respect to this issue.
Does anyone know why the elevated command prompt cannot access/find the files in the All Users desktop ("File not found" error message)?
Again, I can do this via my Windows Explorer replacement, so it is not really a problem, but it has me baffled; thus my request for help.
Thanks.
Allan