UEINIDIR

UEINIDIR

1
NewbieNewbie
1

    Aug 08, 2006#1

    Hello,
    I am trying to get UE32 working in Terminal Server (no Citrix) and am having issues with the uedit32.ini file where configuration settings are not being preserved on a per user basis.
    According to the online help, the UEINIDIR environment variable appears to be the method of choice for my scenario, but I am not quite clear on how to configure the value for this environment variable.
    Would someone please elaborate in specific detail how this can be accomplished?
    Thanks!

    6,684586
    Grand MasterGrand Master
    6,684586

      Aug 09, 2006#2

      If you have all UltraEdit configuration files in the directory F:\Temp\Test Dir With Space simply give UEINIDIR variable this value

      set UEINIDIR=F:\Temp\Test Dir With Space

      You can also add a \ at the end so following will also work.

      set UEINIDIR=F:\Temp\Test Dir With Space\

      In this directory the uedit32.* files and additionally since v11 also the *.mfg, *.pfg and *.tfg should exist.

      Well, you cannot set the UEINIDIR with the DOS command set because this would set the variable for the current command shell only and not for whole system. You have to specify it either in Autoexec.bat for Win9x or at Settings - Control Panel - System - Advanced - button Environment Variables - section System Variables for all other Windows OSes. You need to restart Windows after specifying the variable!
      Best regards from an UC/UE/UES for Windows user from Austria

      1
      NewbieNewbie
      1

        Mar 21, 2017#3

        I've been using UE for years in a Citrix environment (in which I run the application on a server that has no persistent data) our profiles and registry settings are managed by a profile management tool called ProfileUnity; it is solid and flexible.

        Is the UEINIDIR the sole setting of which we need to be aware when preserving users' preferences as they run UE on random application servers?
        Specifically I'm interested in preserving:

        Favorite Files
        Themes
        Toolbar settings
        Font Size

        How is the location of these set, so we can preserve in a persistent data store?

        Thanks.

        6,684586
        Grand MasterGrand Master
        6,684586

          Mar 22, 2017#4

          I opened a command prompt window and executed the following command lines while no instance of 32-bit UltraEdit v24.00.0.56 was running:

          Code: Select all

          ren "%APPDATA%\IDMComp\UltraEdit" UltraEditBackup
          md "C:\Temp\UltraEditTest"
          set "UEINIDIR=C:\Temp\UltraEditTest"
          "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe"
          
          The directory C:\Temp\UltraEditTest contained the following directories and files after modifying a standard theme and exiting UltraEdit:
          • autorec ... directory with hidden attribute set for data recordings to be able to restore latest edits on crash of UltraEdit or computer.
          • templates ... directory with the template files.
          • themes ... directory with the themes.
          • *.in1 ... files of the layouts.
          • uedit32u.in0 ... file with current workspace configuration.
          • uedit32u.ini ... file with current user configuration settings.
          • uedit32u.rb0 ... file with current ribbon/toolbar/menu configuration.
          But UltraEdit created additionally %APPDATA%\IDMComp\UltraEdit and put into this directory:
          • wordfiles ... directory with the standard wordfiles copied from %ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\wordfiles.
          • FTPData.ini ... empty file for FTP account settings.
          • FTPDataU.ini ... nearly empty file for FTP account settings with Unicode names.
          • projectsu.lst ... Unicode encoded list of UltraEdit project files ever opened in UltraEdit.
          • startup.log ... file created by UE v24.00 on every startup to find out why on some machines UltraEdit needs more than 2 seconds to start.
          • TAGLISTU.UET ... Unicode encoded standard tag list file copied from %ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit
          This means:
          • Favorite Files stored in uedit*.ini depend on environment variable UEINIDIR.
          • Themes storage depends on location of INI file and therefore on environment variable UEINIDIR.
          • Toolbar settings stored in uedit32u.rb0 depend on location of INI file and therefore on environment variable UEINIDIR.
          • Theme based font size settings stored in themes file and file extension based font settings stored in uedit*.ini depend on environment variable UEINIDIR.
          The wordfiles directory can be configured at Advanced - Settings/Configuration - Editor Display - Syntax Highlighting. So it is possible to create directory C:\Temp\UltraEditTest\wordfiles, move everything inside %APPDATA%\IDMComp\UltraEdit\wordfiles to C:\Temp\UltraEditTest\wordfiles and configure in UltraEdit C:\Temp\UltraEditTest\wordfiles as wordfiles directory. UltraEdit checks on next start if directory %APPDATA%\IDMComp\UltraEdit\wordfiles exists to determine if copying the wordfiles installed with UltraEdit is necessary independent on what is configured for the wordfiles directory. As this directory exists although not containing any *.uew file, nothing is copied and UltraEdit loads the wordfiles from configured C:\Temp\UltraEditTest\wordfiles.

          The FTP account settings are by default stored in FTPData.ini respectively FTPDataU.ini in directory %APPDATA%\IDMComp\UltraEdit, but a different file can be configured at Advanced - Settings/Configuration - FTP by either using Store FTP accounts and settings in user selected file or Share FTP Accounts. See help of this configuration dialog for more details.

          The location and name of the tag list file can be also configured by the user by opening Tag List view, right clicking into the view and left clicking on context menu item Modify Tags and use button Browse to browse to a different tag list file, for example C:\Temp\UltraEditTest\TAGLISTU.UET moved before from %APPDATA%\IDMComp\UltraEdit.

          So startup.log not containing any configuration settings and projectsu.lst file which I don't know what is really for as the last used projects are also stored in uedit*.ini are the only two files which can't be moved to directory as defined by environment variable UEINIDIR.
          Best regards from an UC/UE/UES for Windows user from Austria