UEdit32.ini in a different location than user or windows

General and specific configuration/INI settings

UEdit32.ini in a different location than user or windows

Postby djorre » Fri Jan 28, 2005 7:35 am

Hi,

I'd like to install Ultraedit but I would like the Uedit32.ini file to be stored in a different directory than the user directory or windows directory. Is this possible? UltraEdit would be installed in c:\AppsData\sys_0272 but the ini file should be stored in y:\data\UltraEdit.

Can it be done by change a registry setting?

Thanks,

Jo
User avatar
djorre
Newbie
 
Posts: 3
Joined: Fri Jan 28, 2005 12:00 am

Re: UEdit32.ini in a different location than user or windows

Postby Mofi » Fri Jan 28, 2005 9:51 am

At new installs during installation the ini-file is always created at APPDATA. But after installation you can move it to whereever you want and tell UE where to load it from. Here is the UE help text about it:

Telling UltraEdit which INI file to use

To override the default behavior you may use a command line parameter, an environment variable, or add an INI file to the directory containing UltraEdit.

The rules are as follows:

The command line is checked first; if the command line contains "/I=filename" this is used.

Example: /i=c:\windows\uedit32.ini

The filename must follow the /i= immediately. It can be a long name with spaces, in which case it must be in quotes.

If the command line parameter is not found the environment variable is checked. Please note, the environment variable specifies the directory that will contain the INI file, NOT the INI filename itself. The environment variable name is UEINIDIR. If this is defined, UltraEdit attempts to use this directory with the default INI filenames.

Finally, UltraEdit will look in the directory the EXE file is running from to locate the INI file. If the INI file does not exist here, UltraEdit will check the Windows directory for compatibility with older versions and if it is still not found, the %APPDATA% folder will be used.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4041
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: UEdit32.ini in a different location than user or windows

Postby zridling » Thu Feb 10, 2005 4:56 am

As always, thanks Mofi!
User avatar
zridling
Basic User
Basic User
 
Posts: 19
Joined: Sun Nov 07, 2004 12:00 am
Location: Chicago, US


Return to Configuration/INI Settings

cron