Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: unlinking an index.dat file in windows

by Burak (Chaplain)
on Jul 01, 2010 at 19:54 UTC ( #847603=note: print w/replies, xml ) Need Help??

in reply to Re^2: unlinking an index.dat file in windows
in thread unlinking an index.dat file in windows

That "ATTRIB" thing you mention is probably the read-only flag. It's not a lock and you can overwrite a read-only file. In your case the file is opened by another program (lets say you opened a JPEG in Photoshop and can't delete the file from disk while it's opened in Photoshop) and the program itself locked the file not that attribute thing. You can't delete the file until the other program exits or closes the file. Use Process Explorer to see which program opened a handle to it (on Vista/7 you need to run as administrator). You can also get the process list with some Win32 modules I believe.
  • Comment on Re^3: unlinking an index.dat file in windows

Replies are listed 'Best First'.
Re^4: unlinking an index.dat file in windows
by Don Coyote (Hermit) on Jul 02, 2010 at 00:07 UTC
    ah. so this is a bit like using a shared spreadsheet. when another user is handling the file. i will look into the process handler link (thanks) and also the flock method - iasaw aliitle bit of this. and i should be able to work it ut from there. obv win32 isn't ideal but if i can get round that then server should be fairly straight forward when i get there. :D

    thanks for the info burak ;-'

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://847603]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2023-05-30 18:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found