Windows 10: c:\users\public\public documents\xxxxx

Discus and support c:\users\public\public documents\xxxxx in Windows 10 Network and Sharing to solve the problem; when running a .bat file with the following script, the copy fails. --- robocopy "c:\users\public\public documents\foldername" "e:\copyfolder" /mir... Discussion in 'Windows 10 Network and Sharing' started by ClarenceKooyman, Sep 21, 2020.

  1. c:\users\public\public documents\xxxxx


    when running a .bat file with the following script, the copy fails. --- robocopy "c:\users\public\public documents\foldername" "e:\copyfolder" /mir /eta /r:1 /w:1 /log:c:\robolog\logfile.txt


    However, when running the same script with 'public documents' changed to 'documents', the script runs ok.

    --- robocopy "c:\users\public\documents\foldername" "e:\copyfolder" /mir /eta /r:1 /w:1 /log:c:\robolog\logfile.txt


    why is 'public documents' a pseudoname?


    I should note that after a change to the script, I have to always remember to save the .bat file as UTF-8, or the quotes in the script cause problems, too.


    note that the --- characters used above are just for effect in this discussion & are not part of the operational script

    :)
     
    ClarenceKooyman, Sep 21, 2020
    #1
  2. LuizLopes Win User

    Windows 10, relocate Public\Documents

    Matthew,

    Thank you for your solution, which I implemented it in a slightly different way that did not involve safe mode. While logged in on an Administrator group account:

    • copied the folders in the C:\Users\Public (on my SSD) to E:\Users\Public (on my hard disk), using File Explorer
    • deleted the folders in C:\Users\Public, using File Explorer
    • opened a command prompt using "Run as Administrator" and cd to C:\Users\Public
    • for each folder in E:\Users\Public, run the mklink command to create soft links to the corresponding folders in E:. For example:

      C:\Users\Public
      >mklink /D Documents E:\Users\Public\Documents

      C:\Users\Public
      >mklink /D "Public Documents" E:\Users\Public\Documents

      (You may have a typo (C: instead of Ec:\users\public\public documents\xxxxx :) in your mklink example)
    I created two links because windows shows the folder names including the "Public", but the actual name does not. I am not sure which one I needed, and created the two links, just in case. The only exception is the folder Library, which Windows shows just
    as "Library".

    So far it seems to work. I briefly tested it by cd into the folders in C:\Users\Public both from the command prompt and File Explorer. In both cases I can see the files in the folder (at Ec:\users\public\public documents\xxxxx :), while windows shows the folder as if they were at C:, which seems
    to be the way soft links work.
     
    LuizLopes, Sep 21, 2020
    #2
  3. DaveM121 Win User
    Access to public documents

    Hi Diane, where are you sharing these public documents from - is it the actual Public Documents Folder in C:\Public\Public Documents?

    When you receive an update, does it block access to that folder?
     
    DaveM121, Sep 21, 2020
    #3
  4. Nassim423 Win User

    c:\users\public\public documents\xxxxx

    C:\Users\Public disappeared

    So I made a local admin account, signed in, checked public folder sharing settings, and public folder is still hidden in C:\Users\Public... and it's still read only.
     
    Nassim423, Sep 21, 2020
    #4
Thema:

c:\users\public\public documents\xxxxx