Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Portable file association for USB sticks?

I have a USB flash drive, called CLINIC, that contains a portable copy of Notepad++ for Windows. CLINIC also contain some PHP files that I want to edit. I only want to edit them in the copy of Notepad++ on CLINIC.

How can I make it so that when I open a PHP file on CLINIC, the default application used is Notepad++? It must use this default on any Windows computer?

share|improve this question

marked as duplicate by Karan, TFM, Dennis, Tog, Mokubai Jan 20 '13 at 9:56

This question was marked as an exact duplicate of an existing question.

I don't think that you can do this ONLY for files on the USB drive. You can set the default for ALL files with the same extension and/or mime type but not make it specific to a drive.

Instead, get into the habit of starting the copy of NP++ and in its settings, set a default project to point to the drive.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.