Google Drive file stream sync issue
I noticed on https://laragon.org/docs/portable.html that Laragon works with Google Drive. I want this to work so I can be in sync across my computers.
I have copied the laragon directory to Google Drive Stream.
However, I get the error "Path must not have SPACE" from laragon when trying to open it.
"G:\My" is not a
Laragon is located at: "G:\My Drive\laragon"
I can see the issue is the space between My and Drive. However, from what I can see, there is no way to rename this folder.
@gevarpm : Did you try creating a symbolic link to your Google Drive?
@leokhoa I have tried that just now.
mklink /D "G:\MyDrive" "G:\My Drive"
Unfortunately it gives the error "The system cannot find the file specified"
@leokhoa do you think I did something wrong with the symbolic link?
Is there anyway you could allow for spaces in Laragon paths?
@gevarpm : Can you try:
mklink /J "G:\MyDrive" "G:\My Drive"
@leokhoa I get Local NTFS volumes are required to complete the operation. Any ideas?
Or try GUI solution, install Link Shell Extension:
After install the program, right-click Laragon folder, and choose "Pick Link Source",
and then go to destination folder , drop as Junction:
And please be careful when you want to delete junction folder, don't use: right click the folder and choose "Delete", because it will erase your original subfolders and files. Use "Del" button in keyboard to remove junction folder.
But test first when you want to delete junction folder with dummy folder.
@rescenic that worked perfectly. Thanks so much for your help!
@rescenic : You are rock star!!!!