Moving temp file directory from drive C: to drive D:

Moving temp file directory from drive C: to drive D:

1
NewbieNewbie
1

    Oct 25, 2006#1

    Hi,

    How can I move the UltraEdit temp file directory from drive C: to drive D:? My C: is running out of space hence I can't open big files.

    Pls help, thanks in advance!! :lol: :twisted: :lol:

    6,675585
    Grand MasterGrand Master
    6,675585

      Oct 25, 2006#2

      First, read what I wrote at Cannot create/open new file (solved) on how to clean up the folder for temporary files and other folders to get back disk space.

      UltraEdit uses like most other programs the directory specified by the environment variable TEMP as directory for temporary files. If you want to move the temp directory for UltraEdit and all other programs to a different drive, you have to open Start - Control Panel - System - Advanced system settings - button Environment Variables.

      Hint: Start - Control Panel - System can be fast opened by pressing the WINDOWS logo key, hold it and press additionally the key BREAK (German: Pause).

      If you look carefully you will find entries named TEMP and TMP at the upper field (lower field on Windows 2000). These two variables specify the directory for temporary files for YOU, the current user. You can change/edit its value to a different directory.

      In the bottom field (upper field on Windows 2000) there could be also environment variables named TEMP and TMP. These variables are used for applications and services running with the SYSTEM account for example before a user has logged in (signed in). You can change the values of the system TEMP and TMP variables too, but never delete them.

      After changing the environment variables, you have to restart Windows. You should also write down the paths before you change it, because after restart of Windows you should delete the old temp directory completely because it is not used anymore.

      If you don't want to change the standard temporary folders of Windows and you just want to use a different folder for temporary files when using UltraEdit you should read in help of UltraEdit the page titled INI File Selection and Advanced Settings. There you can read that it is possible to specify a directory for temporary files by manually adding to uedit32.ini or uedit32u.ini or uedit64.ini or uedit64u.ini or ue.ini (file name depends on version of UltraEdit) following:

      [Settings]
      Temp File Dir=D:\Temp

      Important: Don't use double quotes and don't specify a trailing backslash. The environment variable TEMP holds the path to the temp folder also without double quotes and without a \ at the end.

      The full qualified file name of the INI file used by UltraEdit or UEStudio can be seen at Advanced - Settings or Configuration - Application layout - Advanced in UltraEdit / UEStudio.

      Well, exactly this help page about the location of the INI of UltraEdit-32 and UEStudio and the advanced settings not available via the configuration dialog or a context menu must be completely updated - UltraEdit-16 is history, UEStudio INI file and environment variable name is missing, many of the existing advanced settings can be modified now in one of the configuration dialogs, and some really new advanced settings ("secret" developer settings) are missing. Troy from IDM support has promised me to do that till next major release.

      The update of the referred help page has been done by Troy for UE v13.00 and UEStudio v6.20.