Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to remove an unnecessary file that was the product of some LaTeX typesetting. However, when I try to do anything to the file, Windows tells me that the file can't be moved since "it is open in pdflatex". To my knowledge, this isn't the case, so what could be causing the problem here?

share|improve this question
2  
try rebooting and then immediately delete the file after login. otherwise look for any pdflatex processes running and kill them. if that doesn't work, close the handles to the file with procexp, or failing that, unlocker. serverfault.com/questions/1966/… –  Frank Thomas Apr 10 at 21:54
    
yeah that did the trick for me. I'm slightly bothered by the fact that I have absolutely no idea what the actual problem was though... –  earl grey cat Apr 11 at 2:07

1 Answer 1

Install the tool Unlocker. It will install as a shell extension (appears in the context menu on the right click) and will:

  1. Tell you what program is blocking your file (if any such exists)

  2. Allow you to do various actions (such as delete) on your file "by force". Mostly immediately, and if not possible, after the next restart.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.