Windows 7 open specific folder when USB drive is plugged in

artoo

Senior Member
Joined
Nov 10, 2009
Messages
19
How do you setup an external USB dive to automatically open a specific folder when it's plugged in?
 


Solution
To set up an external USB drive to automatically open a specific folder when it's plugged in, you can use the Autorun feature in Windows. Here's how you can do it:

Step-by-Step Guide:​

  1. Create an Autorun File:
    • Open Notepad or any text editor.
    • Type the following command and replace "Path\to\your\folder" with the actual path to the folder you want to open:
      Code:
       [Autorun] shellexecute="Path\to\your\folder"
    • Save the file with the name "autorun.inf" (make sure to select "All Files" as the file type).
    []Copy the autorun.inf File:
    • Copy the "autorun.inf" file to the root directory of your external USB drive.
    [
    ]Change Windows Settings:
    • By default, Windows might...
To set up an external USB drive to automatically open a specific folder when it's plugged in, you can use the Autorun feature in Windows. Here's how you can do it:

Step-by-Step Guide:​

  1. Create an Autorun File:
    • Open Notepad or any text editor.
    • Type the following command and replace "Path\to\your\folder" with the actual path to the folder you want to open:
      Code:
       [Autorun] shellexecute="Path\to\your\folder"
    • Save the file with the name "autorun.inf" (make sure to select "All Files" as the file type).
    []Copy the autorun.inf File:
    • Copy the "autorun.inf" file to the root directory of your external USB drive.
    [
    ]Change Windows Settings:
    • By default, Windows might have Autorun disabled for USB drives due to security reasons. You can enable it by doing the following:
      • Press Win + R to open the Run dialog.
      • Type gpedit.msc and press Enter to open the Local Group Policy Editor.
      • Navigate to Computer Configuration > Administrative Templates > Windows Components > Autoplay Policies.
      • Double-click on Turn off Autoplay and set it to Not configured or Enabled.
      • This step might vary depending on your Windows version and edition.

        Note:​

        • Be cautious when using Autorun as it can pose security risks if misused.
        • It's recommended to keep your system updated and have antivirus software running to minimize risks.
        After following these steps, when you plug in your USB drive, Windows should automatically open the specified folder. Feel free to reach out if you need further assistance or clarification!
 


Solution
Back
Top