Command line parameter -f does no longer work with UE v27.00 on search string containing space (fixed)

Command line parameter -f does no longer work with UE v27.00 on search string containing space (fixed)

2
NewbieNewbie
2

    Jul 26, 2020#1

    Hi everyone,

    The command line parameter -f does no longer work with UltraEdit for Windows v27.00 if the search string contains a space.

    Thanks for any suggestions!

    6,688587
    Grand MasterGrand Master
    6,688587

      Jul 27, 2020#2

      You are absolutely right. It looks like there have been several changes due to parsing of command line parameters, most likely because of introducing uedit32.com and uedit64.com which has to start uedit32.exe respectively uedit64.exe and pass the options to the executable on running UltraEdit from command line with just file name without file extension.

      I found out that following works with 32-bit UltraEdit v27.00.0.82:

      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\changes.txt" -fAddressed

      But not working anymore is:

      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\changes.txt" -fAddressed issue

      Both command lines work with 32-bit UltraEdit v26.20.0.68 which supports also the following command lines to open files of which full qualified file names are stored in a list file:

      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" /FC:\Temp\ListFile.txt
      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" /F"C:\Temp\List File.txt"
      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" /F C:\Temp\ListFile.txt
      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" /F "C:\Temp\List File.txt"

      32-bit UltraEdit v27.00.0.82 supports only the last two command lines with a space between option /F and list file name.

      I could not find any solution to start UltraEdit for Windows v27.00.0.82 with a full qualified file name of a text file to open and search for a string containing a space character. I would have expected that one of the following command lines work:

      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\changes.txt" -f "Addressed issue"
      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\changes.txt" "-fAddressed issue"
      "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\uedit32.exe" "%ProgramFiles(x86)%\IDM Computer Solutions\UltraEdit\changes.txt" -f="Addressed issue"

      But all three command lines above work neither with UE v27.00.0.82 nor with v26.20.0.68.

      So I can only suggest to send an issue report to IDM support by email as it looks like it is impossible at the moment to run from command line a search in file with search string containing a space.

      PS: uedit32.com and uedit64.com are for execution of UltraEdit to calculate a hash value for a file which is output to console. The file extension .COM is left to file extension .EXE in environment variable PATHEXT by default and so using just file name uedit32 or uedit64 results in execution of the file with file extension .com by Windows command processor.

        Aug 02, 2020#3

        This issue is fixed with UltraEdit for Windows v27.00.0.94. The command line option -f works again for search strings containing one or more spaces with uedit32.com, uedit32.exe, uedit64.com and uedit64.exe on UltraEdit not already running or on UltraEdit already running with Allow multiple instances not checked as by default as well as with this setting checked and without or with usage of /fni or /foi as first parameter.
        Best regards from an UC/UE/UES for Windows user from Austria

        2
        NewbieNewbie
        2

          Aug 22, 2020#4

          Thanks !!!