Results 1 to 11 of 11

Thread: Got suggestions? - Windows service locking files

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Got suggestions? - Windows service locking files

    I've created a windows service that uses a timer and an event that fires every x minutes (where x is a variable and is configurable).

    The service works quite simply: It looks at a folder, enumerates all the files in that folder and every folder beneath it. It then does some processing on them (read only processing) and once that's done, it's supposed to delete all of them.

    But that doesn't happen, because the service has a lock on the files.

    I know I've overlooked something simple, so what should I be doing in order to delete those files?
    Last edited by mendhak; Jul 18th, 2006 at 02:51 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width