File save not working?

File save not working?

4
NewbieNewbie
4

    Dec 08, 2006#1

    I am experiencing some strange behaviour with UE 12.20 when saving files:

    If I edit a file in UE and save it, everything seems ok (no error messages and the * at the end of the file name disappears as expected).

    But when I open the same file in Notepad, the change isn't visible.
    (even after exiting UE first).

    Changing the file in Notepad and then saving it works perfectly.

    If I follow the above steps, and then open the file in UE again, it shows the "old" UE file from the first step.

    In other words: it seems that there are somehow two (distinct) files in use in this scenario.

    Any suggestions ?

    Thanks in advance...

    6,675585
    Grand MasterGrand Master
    6,675585

      Dec 08, 2006#2

      That's extremely strange. Save is saving to Nirvana? Have you administrator privileges or do you work with a restricted user account? Do you have permissions to write to the file? (Of course, you must have, because it works with Notepad, but who knows!)

      My suggestion: Download free Filemon from SysInternals, unpack it to a local directory on your hard disk and run Filemon.exe. You need administrator privileges to run Filemon!

      Click in Filemon on Options - Filter/Highlight and specify in the Include field instead of the * the file name of the file you want to edit without the extension and without path. After activating the filter press Ctrl+X to clear the display.

      Now start UltraEdit, edit the file and save it. Back to Filemon, stop the recording (magnifying glass icon in the Filemon toolbar), scroll up to top of the record and look if you can see something strange.

      By the way: What is shown in the status bar of UltraEdit when you have open the file (file format, R/O)?

      4
      NewbieNewbie
      4

        Dec 08, 2006#3

        Thanks for fast response Mofi.

        I do have admin priv (my own machine at home).

        Somewhow I don't think it is related to privileges and R/O file setting (though I will definitely try your suggestion using Filemon and monitoring the status bar).

        I was more thinking use of temporary files when editing.

        From UE Help:
        "Normally the editor copies a file that is being edited to a temporary file, and at the end of the editing session deletes the file after copying back to the appropriate original file."

        Do you know where this temporary file is located, because then I would like to watch this as well?

        6,675585
        Grand MasterGrand Master
        6,675585

          Dec 08, 2006#4

          As long as you do not specify a temp file directory in uedit32.ini - see Moving temp file from C: to D:, it is the directory specified by environment variable TEMP.

          But if you set the filter in Filemon as suggested, Filemon will record any application which accesses a file with the specified file name independent of the extension and the directory. The include filter specification simply means, if the entered string is anywhere in a log line of Filemon, show this log line and if not, discard it.
          Best regards from an UC/UE/UES for Windows user from Austria

          4
          NewbieNewbie
          4

            Dec 08, 2006#5

            Ah, nice thingy that tool.

            I will try your suggestions when I get home this afternoon and let you know the result.

              Dec 09, 2006#6

              Back home, I was getting ready to go with Filemon as you suggested, Mofi.

              On my way home, however, I was thinking: if no one else is experiencing this problem, what is possibly different on my system?

              The answer was Altiris SVS. Although being a godsent tool that really has made my (computer) life much easier, the combination of UE and SVS seems not to work happily.

              Installation of UE32 outside SVS did the trick.

              Thank you a lot for your help, Mofi !