[Office] Thêm Dropbox và Google Drive vào hộp thoại Save As của Microsoft Office 2013

Trong hộp thoại Save As của Microsoft Office 2013 có nút Add Place, nhưng theo mặc định ta không thể thêm dịch vụ lưu trữ nào ngoài 2 dịch vụ của Microsoft.

Hướng dẫn sau giúp thêm dịch vụ Dropbox hoặc Google Drive vào hộp thoại này.

Đầu tiên tải file bat

đối với Dropbox tại đây

đối với Google Drive tại đây

Nếu không tải được, có thể tự tạo 1 file bat với đoạn code nằm ở cuối bài.

Chạy file bat vừa tải được.

Trong hộp thoại hiện ra, tại vị trí [promptString], nhập vào đường dẫn của thư mục DropBox (hoặc Google Drive) trên máy > Enter để tiếp tục.

Hộp thoại cmd khi chạy file bat

Trong Word 2013, chọn menu FILE > Account > trong phần Connected Services, bấm nút Add a service > Storage > chọn Dropbox hoặc Google Drive.

Hộp thoại thêm service trong Word 2013

Kết quả như sau: hộp thoại Save As và Open đã xuất hiện tùy chọn Dropbox và Google Drive

Code của file bat Dropbox


@ECHO OFF
ECHO This file modifies the registry in Windows 7 or 8 to add Dropbox as a service within Office 2013
ECHO This script is provided as is and no warranty or support of any form is offered
pause Do you want to continue?</code>

ECHO Please enter the complete path your dropbox folder in the following format, note there is no end slash: C:\Users\Username\Location
SET /P dropboxdir=[promptString]

REM Check Windows Version
ver | findstr /i "5\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_2000
ver | findstr /i "5\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_XP
ver | findstr /i "5\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_2003
ver | findstr /i "6\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Vista
ver | findstr /i "6\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Win7
ver | findstr /i "6\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Win8
goto warn_and_exit

:ver_Win8
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "DisplayName" /t REG_SZ /d "Dropbox"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "Description" /t REG_SZ /d "Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere."
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "Url48x48" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_48x48.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "LearnMoreURL" /t REG_SZ /d "https://www.dropbox.com/"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "ManageURL" /t REG_SZ /d "https://www.dropbox.com/account"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "LocalFolderRoot" /t REG_SZ /d "%dropboxdir%"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url48x48" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_48x48.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url40x40" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_40x40.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url32x32" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_32x32.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url24x24" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_24x24.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url20x20" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_24x24.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url16x16" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_16x16.png"
goto end

:ver_Win7
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "DisplayName" /t REG_SZ /d "Dropbox"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "Description" /t REG_SZ /d "Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere."
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "Url48x48" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_48x48.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "LearnMoreURL" /t REG_SZ /d "https://www.dropbox.com/"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "ManageURL" /t REG_SZ /d "https://www.dropbox.com/account"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad" /v "LocalFolderRoot" /t REG_SZ /d "%dropboxdir%"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url48x48" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_48x48.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url40x40" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_40x40.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url32x32" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_32x32.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url24x24" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_24x24.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url20x20" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_24x24.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\2c0ed794-6d21-4c07-9fdb-f076662715ad\Thumbnails" /v "Url16x16" /t REG_SZ /d "http://dl.dropbox.com/u/46565/metro/Dropbox_16x16.png"

goto end

:ver_Vista
:Run Windows Vista specific commands here
REM echo This script does not support Windows Vista
goto end

:ver_2003
:Run Windows Server 2003 specific commands here
REM echo This script does not support Windows Server 2003
goto end

:ver_XP
:Run Windows XP specific commands here
REM echo This script does not support Windows XP
goto end

:ver_2000
:Run Windows 2000 specific commands here
REM echo This script does not support Windows 2000
goto end

:warn_and_exit
echo Machine OS cannot be determined.

:end
ECHO The script is finished!
ECHO If you don't see any errors, you can close this window.
ECHO Any error messages can be posted on https://forums.dropbox.com/topic.php?id=93098
pause

Code của file bat Google Drive


@ECHO OFF
ECHO This file modifies the registry in Windows 7 or 8 to add Google Drive as a service within Office 2013
ECHO This script is provided as is and no warranty or support of any form is offered.
ECHO Original Script created by Philip P. from Dropbox, Remastered by RedeyeGT
pause Do you want to continue?

ECHO Please enter the complete path your Google Drive folder in the following format, note there is no end slash: C:\Users\Username\Location
SET /P gdrivedir=[promptString]

REM Check Windows Version
ver | findstr /i "5\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_2000
ver | findstr /i "5\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_XP
ver | findstr /i "5\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_2003
ver | findstr /i "6\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Vista
ver | findstr /i "6\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Win7
ver | findstr /i "6\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto ver_Win8
goto warn_and_exit

:ver_Win8
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "DisplayName" /t REG_SZ /d "Google Drive"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "Description" /t REG_SZ /d "Google Drive is a free service that lets you bring all your photos, docs, and videos anywhere."
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "Url48x48" /t REG_SZ /d "http://k37.kn3.net/7DDDA8544.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "LearnMoreURL" /t REG_SZ /d "https://drive.google.com/"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "ManageURL" /t REG_SZ /d "https://drive.google.com"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "LocalFolderRoot" /t REG_SZ /d "%gdrivedir%"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url48x48" /t REG_SZ /d "http://k37.kn3.net/7DDDA8544.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url40x40" /t REG_SZ /d "http://k35.kn3.net/AA5EBCDA4.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url32x32" /t REG_SZ /d "http://k31.kn3.net/022B096E1.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url24x24" /t REG_SZ /d "http://k35.kn3.net/397FB33CC.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url20x20" /t REG_SZ /d "http://k35.kn3.net/397FB33CC.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url16x16" /t REG_SZ /d "http://k43.kn3.net/E5162FC3D.png"
goto end

:ver_Win7
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "DisplayName" /t REG_SZ /d "Google Drive"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "Description" /t REG_SZ /d "Google Drive is a free service that lets you bring all your photos, docs, and videos anywhere."
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "Url48x48" /t REG_SZ /d "http://k37.kn3.net/7DDDA8544.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "LearnMoreURL" /t REG_SZ /d "https://drive.google.com/"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "ManageURL" /t REG_SZ /d "https://drive.google.com"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66" /v "LocalFolderRoot" /t REG_SZ /d "%gdrivedir%"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url48x48" /t REG_SZ /d "http://k37.kn3.net/7DDDA8544.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url40x40" /t REG_SZ /d "http://k35.kn3.net/AA5EBCDA4.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url32x32" /t REG_SZ /d "http://k31.kn3.net/022B096E1.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url24x24" /t REG_SZ /d "http://k35.kn3.net/397FB33CC.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url20x20" /t REG_SZ /d "http://k35.kn3.net/397FB33CC.png"
reg add "HKCU\Software\Microsoft\Office\Common\Cloud Storage\ecc30fd0-4546-11e2-bcfd-0800200c9a66\Thumbnails" /v "Url16x16" /t REG_SZ /d "http://k43.kn3.net/E5162FC3D.png"

goto end

:ver_Vista
:Run Windows Vista specific commands here
REM echo This script does not support Windows Vista
goto end

:ver_2003
:Run Windows Server 2003 specific commands here
REM echo This script does not support Windows Server 2003
goto end

:ver_XP
:Run Windows XP specific commands here
REM echo This script does not support Windows XP
goto end

:ver_2000
:Run Windows 2000 specific commands here
REM echo This script does not support Windows 2000
goto end

:warn_and_exit
echo Machine OS cannot be determined.

:end
ECHO The script is finished!
ECHO If you don't see any errors, you can close this window.
ECHO Any error messages can be posted on https://forums.dropbox.com/topic.php?id=93098
ECHO Original Script created by Philip P. from Dropbox, Remastered by RedeyeGT
pause
FacebookMessenger

Leave a Reply