1351
General Software Discussion / Re: Rename Open File in Windows
« Last post by wraith808 on October 28, 2018, 09:49 AM »so what is IrfanView doing when (on my command) it renames an open picture file?
-Curt (October 28, 2018, 02:56 AM)
Its closing the file that it has a lock on, renaming it, and re-opening it. Or its streaming the whole thing into memory, closing the lock, and then reopening it. It's not impossible, as I say. It's just based more on the fact that he wants it to rename a file that something else has a lock on. I can create a quick test app that would prevent anything from renaming that image file- even irfanview.

SumatraPDF allows for this and also has a "Rename" option within its own file menu or by pressing F2. If you choose this option and rename a file, SumatraPDF will rename it and then re-open the PDF with the new filename. In fact, if you open a PDF file in SumatraPDF and then rename it outside of SumatraPDF, it detects this and its internal "Rename" menu entry becomes greyed out. At that point, you have to use the "Save As..." option. FWIW, I use the rename feature all the time for the same reasons as the original poster.-skwire (October 28, 2018, 08:24 AM)
Yup. And as I said, that's on the PDF reader
Thanks for pointing that one out! I'd forgotten that SumatraPDF did this exact thing!
Recent Posts
