Open a new named file in UltraEdit from a command line?

Open a new named file in UltraEdit from a command line?

14
Basic UserBasic User
14

    May 29, 2010#1

    Hey All,

    The editors TextMate and 'e' both include little utility programs that let you launch them and optionally open/create a file from the command line. So you can say, e.g., 'tm new_file.txt' at a command prompt & TextMate creates new_file.txt & opens it up for editing. Very convenient.

    Is there any similar feature for UltraEdit? I'd like to be able to type for example 'ue myfile.txt' to open myfile.txt in UltraEdit.

    Thanks!

    -Roy

    6,603548
    Grand MasterGrand Master
    6,603548

      May 29, 2010#2

      Yes, this is possible. Just type uedit32 myfile.txt. But the program directory of UltraEdit must be defined in environment variable PATH. This is by default the case.

      Alternatively you can create a batch file in the Windows directory named ue.bat which contains following line:

      "Path of UltraEdit program directory\uedit32.exe" %1

      Then you can type ue myfile.txt and the UltraEdit program directory need not be defined in environment variable PATH.
      Best regards from an UC/UE/UES for Windows user from Austria

      14
      Basic UserBasic User
      14

        Jun 01, 2010#3

        Very cool--that will serve me. Many thanks.