Windows 10: Share a specific folder into cloud such as one drive or google drive?

Page 1 of 2 12 LastLast
  1.    1 Week Ago #1

    Share a specific folder into cloud such as one drive or google drive?


    I have an old game that keeps it's saves in a specific location that cannot be changed (mydocuments\gamename\saves in case that matters). I'm playing with 2 different PC's both carrying win10-64bit and I'm getting tired of copying the new save to a cloud service and moving again when getting to another pc.

    I'd need to add that specific folder into a cloud service, how?

    I'm using Google Drive (not the app but will get it if it helps) and OneDrive.

    With Google drive all tutorials I've found are about sharing folders already in the drive. For some reason I haven't found any how to share a folder into the drive

    With OneDrive I've found few tutorials but my One Drive view is completely different from those tutorials so those are not really helping. In tutorial views and info it's pretty straight forward how to do this with share command right on view, but like I said I have different looking one drive for some reason. I've added those tutorial views and what I'm looking at to this post as jpg attachments.

    Is there a supported way (or any other way) to do this without actually investing money at this point to 21 year old game?

    Thanks for replies.
    Attached Thumbnails Attached Thumbnails odnet.JPG   odme.JPG  
      My ComputerSystem Spec


  2. Posts : 3,097
    Windows 10 Pro x64 v1803 Build 17134.81 (Branch: RS4 Release Preview)
       1 Week Ago #2

    I have a way to sync everything on both PCs via OneDrive, but first I need to know the exact path to your save folder so I can give you accurate commands to execute.

    You will also need an NTFS filesystem on both devices or this won't work.
      My ComputersSystem Spec

  3.    1 Week Ago #3

    Well the path is
    C:\Users\*username*\Documents\OpenTTD\save
    But note that username for my laptop and desktop differs.
      My ComputerSystem Spec


  4. Posts : 3,097
    Windows 10 Pro x64 v1803 Build 17134.81 (Branch: RS4 Release Preview)
       1 Week Ago #4

    Syncing custom folders via OneDrive to multiple PCs


    GREAT!

    Tip   Tip
    First thing you need to make sure, is that OneDrive sync is working properly and using it's default folder on both PCs.


    warning   Warning
    Second thing to do is to make sure you have the latest save data backed up anywhere of your choosing (just in case something goes south in next steps.

    You will also need to be using NTFS filesystem.


    information   Information

    This is what we will create:
    Click image for larger version. 

Name:	JunctionSaveData.png 
Views:	0 
Size:	113.9 KB 
ID:	189053
    We will fool the game thinking it saves to the usual save folder, while in reality it saves to your local OneDrive folder.


    This is how to do it:
    1. Open Command Prompt on the machine with latest game save data.
    2. On first PC TYPE:
      Code:
      mkdir %USERPROFILE%\OneDrive\OpenTTD
    3. On first PC TYPE:
      Code:
      mkdir %USERPROFILE%\OneDrive\OpenTTD\save
    4. On first PC TYPE:
      Code:
      xcopy %USERPROFILE%\Documents\OpenTTD\save %USERPROFILE%\OneDrive\OpenTTD\save /s /i
    5. On first PC TYPE to verify all files got copied:
      Code:
      dir %USERPROFILE%\OneDrive\OpenTTD\save
    6. On first PC TYPE to delete folder:
      Code:
      rd /s %USERPROFILE%\Documents\OpenTTD\save
    7. On first PC TYPE:
      Code:
      mklink /j %USERPROFILE%\Documents\OpenTTD\save %USERPROFILE%\OneDrive\OpenTTD\save
    8. On second PC TYPE:
      Code:
      rd /s %USERPROFILE%\Documents\OpenTTD\save
    9. On second PC TYPE:
      Code:
      mklink /j %USERPROFILE%\Documents\OpenTTD\save %USERPROFILE%\OneDrive\OpenTTD\save
    10. On both PCs, if using OneDrive Files on Demand function, Right-click on the [USERPROFILE]\OneDrive\OpenTDD folder and select Always keep on this device (INSTRUCTIONS WITH SCREENSHOT)
    11. On both PCs wait for OneDrive to sync files and verify the save files are exactly the same on both.
    12. Test that all files sync on both devices and saving the game works as expected.

    Last edited by slicendice; 1 Week Ago at 07:27. Reason: Added illustration
      My ComputersSystem Spec

  5.   My ComputerSystem Spec


  6. Posts : 3,097
    Windows 10 Pro x64 v1803 Build 17134.81 (Branch: RS4 Release Preview)
       1 Week Ago #6

    Yes, I found that but it's doing things in the wrong direction. That's why I didn't share that link. But thanks anyway. :)
      My ComputersSystem Spec

  7.    1 Week Ago #7

    slicendice said: View Post
    Yes, I found that but it's doing things in the wrong direction. That's why I didn't share that link. But thanks anyway. :)
    This syncs any folder to onedrive.
    Then surely OP simply sets up a similar junction link with name of the saaving folder on new pc pointing to onedrive folder. The junction link will work in either direction.
      My ComputerSystem Spec


  • Posts : 3,097
    Windows 10 Pro x64 v1803 Build 17134.81 (Branch: RS4 Release Preview)
       1 Week Ago #8

    cereberus said: View Post
    This syncs any folder to onedrive.
    Then surely OP simply sets up a similar junction link with name of the saaving folder on new pc pointing to onedrive folder. The junction link will work in either direction.

    It will not work since you can not create a junction when a folder with same name already exists.
    Click image for larger version. 

Name:	Junctions.png 
Views:	3 
Size:	156.7 KB 
ID:	189027
      My ComputersSystem Spec

  •    1 Week Ago #9

    slicendice said: View Post
    It will not work since you can not create a junction when a folder with same name already exists.
    Click image for larger version. 

Name:	Junctions.png 
Views:	3 
Size:	156.7 KB 
ID:	189027
    Delete folder, create junction. That is what I do.
      My ComputerSystem Spec


  • Posts : 3,097
    Windows 10 Pro x64 v1803 Build 17134.81 (Branch: RS4 Release Preview)
       1 Week Ago #10

    cereberus said: View Post
    Delete folder, create junction. That is what I do.
    If you delete the FOLDER in OneDrive on PC2, the folder will be deleted from OneDrive and also deleted from PC1.

    Does not work if you use multiple PCs that need exactly the same files and folders. Trust me, I have tested this.

    You need to reverse the dependency, as I did. And for the sake of consistency I did reverse the dependency on both PCs.

    Click image for larger version. 

Name:	Junctions2.png 
Views:	1 
Size:	86.7 KB 
ID:	189036
    Last edited by slicendice; 1 Week Ago at 03:46.
      My ComputersSystem Spec


  •  
    Page 1 of 2 12 LastLast

    Related Threads
    I would like to add the Google Drive folder icon (not the icon that opens Google Drive on the web) to my taskbar. When I drag the icon from my desktop on to the taskbar, a red circle with a diagonal appears. (The kind of symbol that means "no", as...
    Google Drive in Navigation Pane - Add or Remove in Windows 10 I seen this tutorial but was looking for one on how to remove Amazon Cloud Drive from the nav panel as it can't be simply remove the easy way . 124733
    https://s20.postimg.org/fdbwn9np9/gdrive_weirdness.pngSimply it was there as an icon and syncs. I then opened folder 'documents' properties, and reassigned location to be under c:\users\tricia\Google Drive. Win10 copied all the files and they were...
    Windows 10 with drive or cloud. in Network and Sharing
    I am using a cloud to hold all my files and folders. Is there a free way to back up this cloud in the event it fails. All the data is also on m phone's cloud. I use external drives to image my hard drive but I doubt that includes the cloud like...
    Thanks for helping; I press Start I type hello Windows finds files containing 'hello' Problem: I press Start I type the filename of any files I know exist in my Google Drive folder (c:/users/Luke/Google Drive)
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 15:53.
    Find Us