![]() ![]() The second batch file is UnRegUC.cmd with following command lines: If there is by chance already an application registration for UltraCompare Professional in registry hive of current user on host machine, this application registration is kept as is. This batch file first checks if there is no registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\uc.exe and if this condition is true, it adds the registry key with the default string value being the fully qualified file name of the executable of UltraCompare Professional Portable on the USB stick. There is registered uc.exe (non-portable UltraCompare Professional) with the fully qualified file name of UltraCompare Professional Portable as that is the registry key searched also by UltraEdit Portable according to the information provided in the first post of this topic. So the drive letter assigned by Windows to the USB stick is used automatically on registering UC. %~d0 references drive letter and colon of the batch file containing this line. Please note that the part Path\UltraCompare\ucp.exe in the command line must be adapted with correct path and file name of the executable of UltraCompare Professional Portable on the USB stick. The first batch file is RegUC.cmd with just one long command line:Ĭode: Select all QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\uc.exe" >nul 2>nul || %SystemRoot%\System32\reg.exe ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\uc.exe" /f /ve /t REG_SZ /d "%~d0\Path\UltraCompare\ucp.exe" >nul ![]() There are two batch files required both stored also on the USB stick and executed from the USB stick. It is of course possible to manually do a temporary registration of UltraCompare Professional for current user only so that UltraEdit Portable recognizes UltraCompare Professional Portable. For that reason there is no application registration done on the computer on which the portable versions are executed from the USB stick. The portable versions are used without the execution of an installer on the machine on which the USB stick with the executables is plugged in. The application registration is done by the installers of UltraCompare, UltraEdit, UEStudio. UltraEdit detects the availability of UltraCompare Professional by existence of its application registration. I tested my solution with the non-portable versions UltraEdit and UltraCompare Professional. Operating System: UltraEdit supports 64-bit file handling on both 32-bit and 64-bit Windows platforms (Windows 7 and later).I have to mention first that I have neither UltraEdit Portable nor UltraCompare Portable and so could not test my solution with these two applications. Features: Disk based text editing - supports editing of large 4GB+ files, minimum RAM used Configurable tab options (multiple tab stop values, use spaces instead of tabs, etc.) Tab/word wrap options based on file type/extension Insert/overstrike mode with caret and status bar indication Paragraph alignment Left, center, right, fill (for fixed pitch fonts) Reformat paragraph (cleans up and beautifies text) Line spacing support for single, 1.5 and double spacing Drag-and-drop editing Join line(s) (with optional consolidation of whitespace) Double click (optional Shift modifier) to highlight all occurrences of selected word Line Change Indicator (optional) in margin Saved changes indicated in green Unsaved changes indicated in red Configurable colors (set in editor theme) Auto-indent wrapped lines Support for extremely long lines (up to 20,000 characters before wrap is added) Home key positions at first non-space, then first character IntelliMouse scrolling support Native Unicode / UTF-8 editing support and more. ![]() UltraEdit can handle and edit files in excess of 4 gigabytes. IDM UltraEdit 29.1.0.90 (x86/圆4) Portable | 172.4 Mb UltraEdit is a powerful disk-based text editor, programmer's editor, and hex editor that is used to edit HTML, PHP, javascript, Perl, C/C++, Python, and virtually any other coding/programming language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |