{"id":1333,"date":"2018-10-21T00:45:45","date_gmt":"2018-10-21T04:45:45","guid":{"rendered":"http:\/\/www.pressleypress.com\/blog\/?p=1333"},"modified":"2024-02-11T15:21:01","modified_gmt":"2024-02-11T19:21:01","slug":"linking-a-local-folder-with-microsofts-one-drive","status":"publish","type":"post","link":"https:\/\/www.pressleypress.com\/blog\/?p=1333","title":{"rendered":"Linking a Local Folder with Microsoft&#8217;s One Drive"},"content":{"rendered":"<p>You may want to sync a folder on your computer with OneDrive that isn&#8217;t one of the Windows standard C: drive folders like &#8220;Documents&#8221;, &#8220;Pictures&#8221; etc. If that&#8217;s the case, here&#8217;s the command line for you to use to link any folder with OneDrive.<\/p>\n<blockquote><p>mklink \/j &#8220;&lt;path to configured OneDrive location&gt;&#8221; &#8220;&lt;<span style=\"color: #ff0000;\">path to directory you want synced&gt;<\/span>&#8220;<\/p><\/blockquote>\n<p>So, if I had a folder called &#8220;photos&#8221; on the D: drive that I wanted uploaded and synced with my OneDrive, and my OneDrive was configured to exist at c:\\onedrive (the default is C:\\users\\&lt;username&gt;\\onedrive) I&#8217;d do the following command in a Command Prompt window:<\/p>\n<blockquote><p>mklink \/j &#8220;c:\\onedrive&#8221; &#8220;d:\\photos&#8221;<\/p><\/blockquote>\n<p>You&#8217;ll see the &#8220;photos&#8221; folder appear in your OneDrive, and the OneDrive app should start syncing the files from your local storage to the remote cloud-based storage.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may want to sync a folder on your computer with OneDrive that isn&#8217;t one of the Windows standard C: drive folders like &#8220;Documents&#8221;, &#8220;Pictures&#8221; etc. If that&#8217;s the case, here&#8217;s the command line for &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[43,40,42,39,41],"class_list":["post-1333","post","type-post","status-publish","format-standard","hentry","category-computers","tag-microsoft-office","tag-microsoft-onedrive","tag-office-365","tag-onedrive","tag-windows-onedrive"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p32FB4-lv","jetpack-related-posts":[{"id":1114,"url":"https:\/\/www.pressleypress.com\/blog\/?p=1114","url_meta":{"origin":1333,"position":0},"title":"Importing Your iPhoto Library Into Lightroom","author":"Matt","date":"May 19, 2014","format":false,"excerpt":"I've been using iPhoto almost since its creation, so naturally I've got a metric buttload of photos in its library. Now that I'm getting more serious about my photography, iPhoto just isn't going to cut it anymore, especially since it anti-aliases your photos when displayed on an LCD screen. I'm\u2026","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":111,"url":"https:\/\/www.pressleypress.com\/blog\/?p=111","url_meta":{"origin":1333,"position":1},"title":"My Quick Leopard Review","author":"Matt","date":"November 11, 2007","format":false,"excerpt":"Apple's new OS, Leopard, is here and I've finally gotten around to installing it on my MacBook. There's some things I like, and some things I hate. I was originally going to write a detailed review, but there's plenty of insanely detailed reviews on the IntarWebs. So, this will just\u2026","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":745,"url":"https:\/\/www.pressleypress.com\/blog\/?p=745","url_meta":{"origin":1333,"position":2},"title":"Configuring IIS 7 for hosting WCF Web services (.SVC)","author":"Matt","date":"February 28, 2012","format":false,"excerpt":"Run the following command... %windir%\\Microsoft.NET\\Framework\\v3.0\\WindowsCommunication Foundation\\ServiceModelReg.exe \u2013i ...to add all the IIS configuration for WCF services. Use the Framework64 folder if you are using a 64-bit OS.","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69,"url":"https:\/\/www.pressleypress.com\/blog\/?p=69","url_meta":{"origin":1333,"position":3},"title":"Microsoft &#8211; Still Doesn&#8217;t Get Security","author":"Matt","date":"February 14, 2007","format":false,"excerpt":"From the ZDNet Article: \"Joanna Rutkowska has always been a big supporter of the Windows Vista security model. Until she stumbled upon a \"very severe hole\" in the design of UAC (User Account Control) and found out \u00e2\u20ac\u201d from Microsoft officials \u00e2\u20ac\u201d that the default no-admin setting isn't even a\u2026","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1720,"url":"https:\/\/www.pressleypress.com\/blog\/?p=1720","url_meta":{"origin":1333,"position":4},"title":"Enable Administrator Login in Windows 11","author":"Matt","date":"February 19, 2025","format":false,"excerpt":"Did you accidentally lock your administrator login by attempting the wrong password too many times? Do you need to re-enable the account, and reset the password? Try the following : Hold SHIFT and click the power icon on the lock screen. Continue holding SHIFT and click on \"Restart\". This will\u2026","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":419,"url":"https:\/\/www.pressleypress.com\/blog\/?p=419","url_meta":{"origin":1333,"position":5},"title":"Merging 2 HFS Partitions using DiskUtil","author":"Matt","date":"August 31, 2009","format":false,"excerpt":"As a Mac user, you're probably aware of Mac OS X's \"Disk Utility\" program for mounting volumes, repairing permissions, creating disk images, etc. However, the command line version of the tool, \"diskutil\" is also very handy and has functions that aren't available in the GUI application. Let's say you have\u2026","rel":"","context":"In &quot;Computers&quot;","block_context":{"text":"Computers","link":"https:\/\/www.pressleypress.com\/blog\/?cat=3"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1333"}],"version-history":[{"count":1,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1333\/revisions"}],"predecessor-version":[{"id":1334,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1333\/revisions\/1334"}],"wp:attachment":[{"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pressleypress.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}