Skip to main content
Community Expert
September 27, 2021
Question

Feature request: Make it possible to skip ALL *.lck files when opening a crashed document

  • September 27, 2021
  • 4 replies
  • 929 views

https://tracker.adobe.com/#/view/FRMAKER-10835

 

Right now I am working with some big book files and they are pretty unstable with crashes on and off.

It IS possible to delete all lck files using Windows Explorer, but I would really like the Open and Reset dialogue to be more versatile and allow to open ALL crashed files with one click.

    This topic has been closed for replies.

    4 replies

    Barb Binder
    Community Expert
    Community Expert
    September 29, 2021

    @LinSims:

     

    Wait. Are you saying that if this checkbox is disabled when working locally, that the .lck files won't ever be generated again after a crash?

     

    ~Barb

     

    ~Barb at Rocky Mountain Training
    LinSims
    Community Expert
    Community Expert
    September 29, 2021

    They aren't generated after a crash. They're created when someone opens a file that is located on a network drive. When you close a file normally, Frame deletes the lock file. If Frame crashes, the lock files don't get deleted.

    K.Daube
    Community Expert
    Community Expert
    September 28, 2021

    Bjoern,

    Is this (https://tracker.adobe.com/#/view/FRMAKER-10835) a correct URL? I get "No issues found" in the public tracker.

    I would like to amend the requirement by somthing like this:

    «However there is still the task to open all the *.auto.fm files and save them to the *.fm files. IMHO this should be automated by a switch in the Restore Last Session process.

    During development of scripts working on books (or another bunch of files) it often happens that FM crashes (even with no crash log) and leaves the *.auto.fm files there besides the *.lck files.»

    Community Expert
    September 28, 2021

    You are right. Odd - and I can't find the feature request by searching either.

    Bjørn Smalbro - FrameMaker.dk
    Legend
    September 28, 2021

    I agree too. In fact, I got so tired of this that I just made a Windows batch file that I run after every crash. Just a bunch of lines like this:

     

    del /P C:\documentation\some_folder\*.lck  
    del /P C:\documentation\some_folder\*.recover*  
    del /P C:\documentation\some_other_folder\*.lck  
    del /P C:\documentation\some_other_folder\*.recover*  

    etc.

     

    Russ

    Barb Binder
    Community Expert
    Community Expert
    September 27, 2021

    Great idea and I voted for it, Bjørn.

     

    In the meantime—for others reading this post—consider keeping the active project folder open in File Explorer, in Details view and sorted by Type. Then it's just a click, Shift+click to select all the .lck files and delete them. 

     

    ~Barb 

    ~Barb at Rocky Mountain Training
    LinSims
    Community Expert
    Community Expert
    September 28, 2021

    I do something similar for backup files, but I use a program called xplorer2 that lets me keep multiple folders open and also lets me have preprogrammed filters. All I have to do is select the delete backups filter and the only thing I see is the backup files. This ensures I don't accidentally select the actual save file as opposed to the backup file.

    Community Expert
    September 28, 2021

    Yes. I do this with Total Commander. Very handy.

    When I just type lck, it filters so that only files with lck are shown. Then select all and delete.

    And I can also create predefined filters, e.g. for backup files which I do not need in a certain folder.