Menu

Change of default /Application data dir ?

jmg_
2007-02-27
2012-11-13
  • jmg_

    jmg_ - 2007-02-27

    I see the default install can span two drives, as it puts the configs that NP++ reads
    on startup into C:\program files\...\Application Data\Notepad++\[files here]

    Is there a way to safely override this, as I want to put the system on a USB DRIVE,
    and move around ?

    So far, I've got the EXE running, and have got the batch file launch to behave as well,
    with some workarounds as there is no $CURRENT_DRIVE

    I thought a recent version solved this, but it does not seem to read these files if
    they exist in NP++ exe dir, and instead trawls the c: drive... which MAY have
    incorrect version from another NP++ install, or none at all...

    To me, it's generally better to keep all the stuff in one place, as it avoids precisely this type of portability fish-hooks, and allows users to move, and use multiple settings.

     
    • Nobody/Anonymous

      Can't you just check that box in installation? I have a feeling its got an option like "Use %APPDATA% Directory", or something along those lines, and I have a feeling it mentions to check it if installing to a USB Drive. Have a look and tell me if it helps :)

       
      • jmg_

        jmg_ - 2007-02-27

        Thanks - I changed to the installer (from Zips), and if you hover over the %APPDATA% install option, it says what to do for a USB drive (IIRC '[]Don't use %APPDATA%' )
        - and yes, that solves one problem.

        Now, the USB drive runs fine on a clean PC, and it grabs the highlighters and RUN options, from the USB drive.

        I'll use this on all future installs.

        Anyone know what the installer does, that the ZIPs do not, wrt this %APPDATA% usage ?

        Only wrinkle left, is the default files in session, are not PC portable, as they
        include the drive, and that can change as the USB moves about..

        - so the session file might need to be made smarter to allow for changes in drive
        letter ?