rogerdjr
asked on
Mapping google drive as a virtual drive on start-up
using this code in a start-up batch file to map a google drive - doesn't work'
Set-upCloudDrives - bat.txt
"C:\Program Files\Google\Drive\googledrivesync.exe"
subst /d s:
subst s: "C:\Users\Roger\Google Drive"
any suggestions
Set-upCloudDrives - bat.txt
"C:\Program Files\Google\Drive\googledrivesync.exe"
subst /d s:
subst s: "C:\Users\Roger\Google Drive"
any suggestions
ASKER
yes the batch runs fine just doesn't map the google drive?
Confirm that the folder exists:
"C:\Users\Roger\Google Drive"
If not, the SUBST should return error:
Path not found - "C:\Users\Roger\Google Drive"
"C:\Users\Roger\Google Drive"
If not, the SUBST should return error:
Path not found - "C:\Users\Roger\Google Drive"
ASKER
C:\Users\Roger\Google Drive exists
but when the batch file runs it does not show any content on the virtual s drive?
but when the batch file runs it does not show any content on the virtual s drive?
ASKER
found this on YOutube
Thinking i might try as an alternate solution?
How to Mount Google Drive as a Network Drive https://youtu.be/oygO8tnwK_c
Thinking i might try as an alternate solution?
> using this code in a start-up batch file to map a google drive - doesn't work'
1. Where is the start-up batch file run from?
2. What does Windows Explorer show for C:\Users\Roger\Google Drive?
2a. Are there any files there?
3. SUBST works fine here. Does SUBST S: "C:\Users\Roger\Google Drive" create the S: drive?
3a. Are there any files in S:?
1. Where is the start-up batch file run from?
2. What does Windows Explorer show for C:\Users\Roger\Google Drive?
2a. Are there any files there?
3. SUBST works fine here. Does SUBST S: "C:\Users\Roger\Google Drive" create the S: drive?
3a. Are there any files in S:?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How to Mount Google Drive as a Network Drive https://youtu.be/oygO8tnwK_c
This process worked and my google drive is mapped as z drive
I thought it had to be scripted.
Still, Glad you found a solution.
Have a good one 🤙
Still, Glad you found a solution.
Have a good one 🤙
Need to step thru and confirm each line.