Personalization Add or Remove "Copy as path" Context Menu for Drives in Windows 11


Copy_as_path_banner.png

This tutorial will show how to add or remove the Copy as path context menu and Copy path from the File Explorer command bar menu for drives for all users in Windows 10 and Windows 11.

Copy path or Copy as path will copy the full path of selected items (files and folders) wrapped in quotes to the Clipboard so you can paste (Ctrl+V) the full path(s) of the item(s) where you like.

The Copy as path context menu and Copy path from the File Explorer command bar menu is not available for drives by default, but can be added to be able to copy the full path of a selected drive (ex: "C:\") wrapped in quotes. This will also include mapped network drives (drive letter only).


You must be signed in as an administrator to add or remove the "Copy as path" and "Copy path" context menu for drives.



EXAMPLE: "Copy as path" and "Copy path" context menu for drives

Copy_as_path_context_menu-1.png
Copy_as_path_context_menu-2.png
Copy_as_path_File_Explorer_command_bar_menu.png




Here's How:

1 Do step 2 (add) or step 3 (remove) below for what you would like to do.

2 Add "Copy as path" and "Copy path" context menu for Drives for All Users

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Add_Copy_as_path_to_context_menu_of_drives.reg​


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\CopyAsPathMenu]
@="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"

3 Remove "Copy as path" and "Copy path" context menu for Drives for All Users

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Remove_Copy_as_path_from_context_menu_of_drives.reg​


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\CopyAsPathMenu]

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Hi,
There you go reading my mind sorry for the mess :boom:
 

My Computer My Computer

At a glance

Win-7-10-11Pro's10900k & 9940x & 5930kTrident-Z Royal 4000c16 2x16gb & Trident-Z 36...Titan Xp & 1080ti FTW3 & evga 980ti gaming
OS
Win-7-10-11Pro's
Computer type
PC/Desktop
Manufacturer/Model
Acer 17" Nitro 7840sn/ 2x16gb 5600c40/ 4060/ stock 1tb-os/ 4tb sn850x
CPU
10900k & 9940x & 5930k
Motherboard
z490-Apex & x299-Apex & x99-Sabertooth
Memory
Trident-Z Royal 4000c16 2x16gb & Trident-Z 3600c16 4x8gb & 3200c14 4x8gb
Graphics Card(s)
Titan Xp & 1080ti FTW3 & evga 980ti gaming
Sound Card
Onboard Realtek x3
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
Screen Resolution
1920-1080 not sure what the t.v is besides 43" class scales from 1920-1080 perfectly
Hard Drives
2-WD-sn850x 4tb/ 970evo+500gb/ 980 pro 2tb.
PSU
1000p2 & 1200p2 & 850p2
Case
D450 x2 & 1 Test bench in cherry Entertainment center
Cooling
Custom water loops x3 with 2x mora 360mm rads only 980ti gaming air cooled
Keyboard
G710+x3
Mouse
Redragon x3
Internet Speed
xfinity gigabyte
Browser
Firefox
Antivirus
mbam pro

Latest Support Threads

Back
Top Bottom