New
#11
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!!