Robocopy & previous versions of the folder

Restore files from Shadow Copy

Right click on the folder your trying to restore from shadow copy and chose ‘Previous versions’. Chose a date and click on open.

Right click on any file or folder within the previous folder and chose ‘properties’.

Under ‘General’ copy what reads in ‘location’ – .e.g.:

\localhost\G$@GMT-2018.12.14-12.00.13\Old PC Files

Open cmd.exe and type in: subst X: “\localhost\G$@GMT-2018.12.14-12.00.13\Old PC Files”

or open powershell and use robocopy to copy content of X: e.g.:

robocopy X: D:\Folder\ /MIR /COPY:DATSOU /ZB /R:1 /W:10 /TEE /log:

Check that all files have been copied.

When finished, in cmd, type

subst X: /D

https://social.technet.microsoft.com/Forums/windows/en-US/43945b2c-f123-46d7-9ba9-dd6abc967dd4/maximum-path-length-limitation-on-windows-is-255-or-247

https://support.microsoft.com/it-it/help/2891362/a-file-copy-operation-fails-when-files-or-folders-have-long-paths-in-w