Click here to Skip to main content
Click here to Skip to main content
Go to top

Copy Location Shell Extension

, 14 Apr 2000
Rate this:
Please Sign up or sign in to vote.
This shell extension adds the ability to copy file and folder names from the Windows Explorer to the clipboard.
<!-- Link to source file download -->
  • Download source files - 38 Kb
  • <!-- Link to demo file download -->
  • Download the shell extension - 28 Kb
  • <!-- Article image -->

    copylocation.gif


    <!-- Add the rest of your HTML here -->

    Introduction

    This shell extension adds the ability to copy file and folder names from the Windows Explorer window to the clipboard. Simply select the file(s) whose name you want to copy, right-click and select "Copy File Path" or "Copy File Name" from the context menu. Then paste to any editor.

    Copy File Path - copies the entire path to the file.
    Copy File Name - copies only the file name without the folder.

    This utility is inspired by Michael Dunn's article The Complete Idiot's Guide to Writing Shell Extensions. Thanks Michael!


    Setup

    1. Unzip CopyLocation.zip to the folder where you want to install the utility (e.g., C:\Winnt).
    2. Go to the installation folder and double-click on Install.bat.
    3. If you wish, you can delete Install.bat.

    Install.bat registers CopyLocation.dll in the system.

    Alternatively you can:

    1. Copy CopyLocation.dll to the installation folder (e.g., C:\Winnt).
    2. From the Start Menu select Run...
    3. Type "regsvr32.exe C:\Winnt\CopyLocation.dll" and press OK (specify the exact installation folder)

    Install using Run... command

    To uninstall the shell extension:

    1. From the Start Menu select Run...
    2. Type "regsvr32.exe /u C:\Winnt\CopyLocation.dll" and press OK (specify the exact installation folder)
    3. Delete CopyLocation.dll from the installation folder.


    Possible problems

    This shell extension has been tested on Windows 98 and on NT 4.0 with Internet Explorer 5.0. I don't know how it will function under other operating systems. Please write to me if you encounter any problems.


    Contacting me

    Bug reports, requests, features? Write to me at etay@writeme.com.
    Go to my website for latest updates about this utility and other tools I made.


    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    Share

    About the Author

    Itay Szekely
    Software Developer (Senior)
    Israel Israel
    It's all in my website

    Comments and Discussions

     
    GeneralGet *.lnk File Path PinmemberMiss Fress5-Apr-04 18:02 
    QuestionRe: Get *.lnk File Path PinmemberHardwired4-Dec-05 2:04 
    Yeap, got the same problem.
     
    Thank you,
    Andrei CIUBOTARU [Hardwired]
     
    "Prisma Firewall" Lead Developer
    "Prisma Firewall" Project Manager
    ICode&Ideas SRL
    hardwired@prismafirewall.com
    http://www.prismafirewall.com/
     
    President of Inocentric SRL, Romania
    office@inocentric.com
    http://www.inocentric.com/

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Mobile
    Web03 | 2.8.140916.1 | Last Updated 15 Apr 2000
    Article Copyright 2000 by Itay Szekely
    Everything else Copyright © CodeProject, 1999-2014
    Terms of Service
    Layout: fixed | fluid