Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

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
add comment

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