User to user discussion and support for UltraEdit, UEStudio, UltraCompare, and other IDM applications.

This forum is user-to-user based and not regularly monitored by IDM.
Please see technical support page on how to contact IDM.
3 posts Page 1 of 1
I am unable to create a new file. UltraEdit will open existing files, but the File - New menu item does not create a new file for me to work with. I have uninstalled and reinstalled UltraEdit multiple times to no avail. Has anybody else experienced this issue? Any suggestions for a solution?
The folder for temporary files is full of subfolders and files and therefore the creation of a new temporary file as UltraEdit requests is denied by the file system. The solution is to cleanup the folder for temporary files.


Solution 1: Using the Windows Disk Cleanup tool

This can be done by using the Windows Disk Cleanup tool (German: Datenträgerbereinigung) which is available on all Windows since Windows 2000 which includes Windows XP, Windows Vista, Windows 7, Windows 8/8.1 and Windows 10.

There is an excellent article about Keeping Windows XP Systems Clean. There are also the articles with the title Description of the Disk Cleanup Tool in Windows XP and Delete files using Disk Cleanup (for Windows 7) on the support website of Microsoft.

But run this tool only when you are sure that all install / uninstall / update operations have finished completely. If your Windows is running already for a long time without a start, for example when using hibernate mode instead of Windows shutdown, restart Windows before making any cleanup.

You can start the tool via Start - (All) Programs - Accessories - System Tools - Disk Cleanup.

Confirm drive C if this is the drive which contains the user account settings folder as it is by default. You can later run the tool also on other drives.

On Windows 2000 and Windows XP wait until the tool has scanned the drive for old files (not accessed files in last x months) which can be ZIP compressed perhaps by Windows to get drive space back. This can take a few minutes depending how many files you have on the drive if it is a NTFS formatted partition. Storing files compressed on disk is a feature of NTFS and therefore not available on FAT32 partitions.

After the cleanup tool shows its dialog and you use Windows 2000 or Windows XP and your current Windows is stable, I suggest first to switch to tab More Options and click on the button Clean Up in the third part named System Restore. That deletes all system restore points except the last one which normally brings you back a few hundred MBs or even GBs - depends on how many space you have reserved for the system restore at Start - Settings - Control Panel - System - System Restore - Settings.
Special hint: There is no hourglass mouse pointer when Windows runs the file deletion of system restore points. You must look on the drive activity LED to see when the process has finished or click on the first tab in the disk cleanup window to get the hourglass mouse pointer displayed while this special cleanup is in progress.

The disk cleanup tool of Windows 10, Windows 8/8.1, Windows 7 and Windows Vista have also such an option, but you must first click on Clean up system files before the second tab with the button to delete older system restore points and shadow copies appears. Or you start the disk cleanup tool immediately as administrator by right clicking on shortcut and using Run as Administrator.

Next switch back to the first tab Disk Cleanup. There you should check the options

  • Temporary Internet Files - thousands of files, always good to delete it regularly - the reserved disk space for temporary internet files can be also adjusted in the Internet Options of Internet Explorer, although I think the limitation is not really working.
  • Recyle Bin - the reserved disk space can be also adjusted - see properties of the recycle bin on desktop shortcut.
  • Temporary Files - the files in the user account related folder for temporary files as specified by environment variable TEMP.

Next click on button OK to execute the cleanup and automatically close the tool after finishing the cleanup.

Because Temporary Internet Files, Recycle Bin and Temporary Files are by default user specific, all users on the computer should run the tool once per month.

It's also a good idea to additionally delete manually all files and subdirectories in C:\Windows\Temp (exactly %SystemRoot%\Temp). The temporary files currently in use cannot be deleted, simply ignore them and delete all other. And Windows XP users should delete also once per month (best after the automatic Windows security updates are executed and Windows has restarted) the files in C:\Windows\Prefetch.

After the deletion of all the temporary files, it is a good idea to run the defragmentation tool of Windows, except an SSD is used. You should close all applications before running Start - (All) Programs - Accessories - System Tools - Disk Defragmenter.

Special hint for starting Windows Disk Cleanup tool much faster on Windows 2000 and Windows XP. If you are 100% sure you will never compress old files on your NTFS drives, you can decrease the startup time of the Disk Cleanup tool dramatically, if you do following:

  • Open a new ASCII file in UltraEdit.
  • Copy and paste following lines into this new file.

    REGEDIT4

    [-HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress Old Files]


  • Save the file anywhere with any name, but with extension .reg, for example RemoveCompressOldFilesFeature.reg.
  • Double click on this registry file to run Regedit which will ask if you really want to import this file into your registry. Confirm it with OK.
  • Regedit will now delete that key from your Windows registry. Important: You need administrator privileges to do that.
  • Delete the registry file as you don't need it anymore.
Now the Disk Cleanup tool starts MUCH faster because the option for compressing old files does not exist anymore and so it must not scan whole drive which files have not been accessed for a very long time.


Solution 2: Manually cleaning the folder(s) for temporary files

Another method for quickly cleaning only the 2 folders for temporary files is as follows:

  1. Restart Windows to make sure that all installs/uninstalls including silent security and application updates are completed. This is important as files currently in use cannot be replaced during an update process and therefore are temporarily stored in the folder for temporary files and are registered for replacing the files to update in Windows registry on next reboot of Windows.
  2. After restart of Windows open Windows Explorer, enter into the address bar %TEMP% and hit key RETURN.
  3. Select in the temporary files folder of current user account with Ctrl+A all files and subfolders and press Shift+Del to delete all of them. The files currently in use by applications and processes started automatically on Windows startup cannot be deleted. Deselect those files and press again Shift+Del to delete the remaining files. If necessary redo this step until all files and subfolders are deleted except those currently in use.
  4. Next enter into the address bar of Windows Explorer %SystemRoot%\Temp and hit key RETURN.
  5. This folder is for processes, setups and updates running under system account instead of current user account. The files and subfolders in this directory should be deleted also for a complete cleanup of temporary files. But for this task you need administrator privileges which is the reason why the Disk Cleanup tool never deletes files and subfolders in this folder.
Fixed! Thanks much Mofi!
3 posts Page 1 of 1
cron