Built an application real fast that rename files you drag into a specified folder and spits them out into a folder on your desktop. I had a bunch of file permissions issues because it was in a “while(true)” loop and it constantly watched the folder. Instead of checking whether Windows was done moving the file or whatever so I could take control of it, I just threw a try/catch block in there.

It worked perfectly.

  • 1
    I was while true and was about to suggest you use inotify.

    And then I saw windows nvm
  • 1
    @taigrr Yeah, I’m a Windows peasant unfortunately. XD
Add Comment