Menu

#272 userdefined SciteUser-path for USB sticks

closed
None
3
2023-03-26
2005-11-04
Anonymous
No

Hi,

i want to run SciTE from an usb device. Therefore the
SciTEUser.properties file has to be placed in the
application directory, not in MyDocs. Ther is no
configvalue to switch in the SciTEglobals.properties
file the path to be searched for SciTEUser.properties.
I have to set USERPROFILE=empty to force SciTE to lokk
in app-folder.

Could you include such a config-switch?

best regards
Sascha

Discussion

  • Neil Hodgson

    Neil Hodgson - 2005-11-05
    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
    • status: open --> closed
     
  • Neil Hodgson

    Neil Hodgson - 2005-11-05

    Logged In: YES
    user_id=12579

    Adding a switch to SciTEGlobal.properties makes it harder to
    upgrade SciTE versions by replacing SciTEGlobal.properties
    so this won't be added.

    The currently recommended way of running from a USB key is
    to create a batch file in the SciTE directory with

    set SciTE_HOME=.
    start .\SciTE

     
  • valois

    valois - 2023-03-26

    Hi Neil,
    With a batch file works, but after that [import *] not works or
    directory=./
    import $(directory)/myproperty
    I could do it with import ../myproperty
    I would be great to set up in config files where to save session file

     
    • Neil Hodgson

      Neil Hodgson - 2023-03-26

      Did you try setting SciTE_USERHOME as described in the explanation for save.session? This was introduced in 2016 with [feature-requests:#965].

      import * is relative to the file containing the statement so you could copy any wanted .properties into that directory.

       

      Related

      Feature Requests: #965


Log in to post a comment.