Amen Posted June 20, 2006 Share Posted June 20, 2006 Hi, is any way to check if one file is currently in use? opened or accessed?A system command maybe? Plugged ThoughtsQBsick? check my Old staff (New Launchers to Work with Windows.Thnx to Autoit!)Game Development ToolsPortes (A Backgammon game)Ball (An Arkanoid Style game)Au3? SecretProgz - Reveals Commands that can be used on your system CleanOut - Uninstall leftovers Enable windows XP Autologon. Stop Windows Auto Sharing your hard drives (C$,D$,etc) D-Link - Create a dynamic link.Useful for server shortcuts Fun - How would your name sounds in Japanese,Russian or Reventian? Fix_srt - Shift a subtitle (.srt) some secs +/- Link to comment Share on other sites More sharing options...
Paulie Posted June 20, 2006 Share Posted June 20, 2006 Hi, is any way to check if one file is currently in use? opened or accessed?A system command maybe?Try and delete it Link to comment Share on other sites More sharing options...
evilertoaster Posted June 20, 2006 Share Posted June 20, 2006 Use FileOpen() and if it fails (with the correct path) then it's probably becuase it's in use. Link to comment Share on other sites More sharing options...
Amen Posted June 21, 2006 Author Share Posted June 21, 2006 (edited) ok Fileopen it is a good idea but i was wondering if there is any command that os offers to check that out.without open it first.thank u a lock command maybe.To check instanly if it is open and if it is do not let other process access it (so check and use file in one tick of code) Edited June 21, 2006 by Amen Plugged ThoughtsQBsick? check my Old staff (New Launchers to Work with Windows.Thnx to Autoit!)Game Development ToolsPortes (A Backgammon game)Ball (An Arkanoid Style game)Au3? SecretProgz - Reveals Commands that can be used on your system CleanOut - Uninstall leftovers Enable windows XP Autologon. Stop Windows Auto Sharing your hard drives (C$,D$,etc) D-Link - Create a dynamic link.Useful for server shortcuts Fun - How would your name sounds in Japanese,Russian or Reventian? Fix_srt - Shift a subtitle (.srt) some secs +/- Link to comment Share on other sites More sharing options...
w0uter Posted June 21, 2006 Share Posted June 21, 2006 I use ForceDel for these things. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Amen Posted June 21, 2006 Author Share Posted June 21, 2006 Thnk u man!!!! .I'll test it.seems that next parameters will help me out! /L List handles of given file. /C Only closes all the handles associated with the file, without deleting it. Plugged ThoughtsQBsick? check my Old staff (New Launchers to Work with Windows.Thnx to Autoit!)Game Development ToolsPortes (A Backgammon game)Ball (An Arkanoid Style game)Au3? SecretProgz - Reveals Commands that can be used on your system CleanOut - Uninstall leftovers Enable windows XP Autologon. Stop Windows Auto Sharing your hard drives (C$,D$,etc) D-Link - Create a dynamic link.Useful for server shortcuts Fun - How would your name sounds in Japanese,Russian or Reventian? Fix_srt - Shift a subtitle (.srt) some secs +/- Link to comment Share on other sites More sharing options...
w0uter Posted June 21, 2006 Share Posted June 21, 2006 just dont blame me if you accedently delete your file My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now