Kaktussoft said:
AllanB said:
Kaktussoft said:
In elevated command prompt:

Code:
 
dir/als  c:\programdata\desktop*
dir/als  "c:\users\All Users\Desktop*"
Post output
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>dir/als c:\programdata\desktop*
Volume in drive C is Windows
Volume Serial Number is 1E27-E7B4

Directory of c:\programdata

07/14/2009 01:08 AM <JUNCTION> Desktop [C:\Users\Public\Desktop]
0 File(s) 0 bytes
1 Dir(s) 31,501,836,288 bytes free

C:\Windows\system32>
C:\Windows\system32>dir/als "c:\users\All Users\Desktop*"
Volume in drive C is Windows
Volume Serial Number is 1E27-E7B4

Directory of c:\users\All Users

07/14/2009 01:08 AM <JUNCTION> Desktop [C:\Users\Public\Desktop]
0 File(s) 0 bytes
1 Dir(s) 31,501,189,120 bytes free
All is as it should be!!
Code:
C:
cd  "\users\All Users\desktop"
copy  con  test.txt
!now press CTRL-Z
cd  \programdata\desktop
copy  con  test2.txt
!now press CTRL-Z
Code:
dir  c:\users\public\desktop
Do you see files test.txt and test2.txt ? Delete them.

Do you see "c:\users\All Users\desktop" and c:\programdata\desktop are actually pointing to c:\users\public\desktop.

So what's the problem?
Yes, it works!!

C:\>cd "\users\All Users\desktop"

C:\Users\All Users\Desktop>copy con test.txt

1 file(s) copied.

C:\Users\All Users\Desktop>cd \programdata\desktop

C:\ProgramData\Desktop>
C:\ProgramData\Desktop>copy con test2.txt

1 file(s) copied.

C:\ProgramData\Desktop>dir c:\users\public\desktop
Volume in drive C is Windows
Volume Serial Number is 1E27-E7B4

Directory of c:\users\public\desktop

04/23/2013 09:19 PM 0 test.txt
04/23/2013 09:20 PM 0 test2.txt
2 File(s) 0 bytes
0 Dir(s) 31,475,945,472 bytes free

C:\ProgramData\Desktop>

I didn't bother deleting the two created files but rather modified by batch file as follows:

rem C:\Users\All Users\desktop = C:\ProgramData\desktop and they point to C:\Users\Public\Desktop which is accessible from the Command Prompt
Move C:\Users\Public\Desktop\*.* C:\Users\ALLAN\Desktop\
@echo off

and it worked perfectly via the command prompt:

E:\AB>rem C:\Users\All Users\desktop = C:\ProgramData\desktop and they point to C:\Users\Public\Desktop which is accessible from the Command Prompt

E:\AB>Move C:\Users\Public\Desktop\*.* C:\Users\ALLAN\Desktop\
C:\Users\Public\Desktop\test.txt
C:\Users\Public\Desktop\test2.txt
2 file(s) moved.


-- and I checked my desktop and the two files were moved to the right side.

Incidentally, I do this so as to keep all of my icons (except for the Recycle Bin, Computer and Control Panel) together, sorted alphabetically. Otherwise, when I would look for an icon, I would have to scan through the Public side of the desktop and the Allan side of the desktop.

Again, thank you very much, Kaktussoft, and thanks also to UsernameIssues and logicearth!!