iamtheky Posted June 25, 2013 Share Posted June 25, 2013 Is it possible to return all open file handles? I could fill pages with my unsuccessful attempts, the latest of which was handle.exe (which i am now going to attempt through psexec). But if there is an autoit solution that interests me greatly. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
jdelaney Posted June 25, 2013 Share Posted June 25, 2013 This gets open shares...otherwise, not sure what you are asking for: #include <constants.au3> Local $foo = Run(@ComSpec & ' /c for /f "skip=4 tokens=1" %a in (''net files'') do echo %a', @SystemDir, @SW_HIDE, $STDOUT_CHILD) While 1 $line = StdoutRead($foo) If @error Then ExitLoop MsgBox(0, "STDOUT read:", $line) WEnd While 1 $line = StderrRead($foo) If @error Then ExitLoop MsgBox(0, "STDERR read:", $line) WEnd IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
iamtheky Posted June 25, 2013 Author Share Posted June 25, 2013 (edited) explaining my problem and end goal is probably helpful, indeed. I am watching an (edit: clarifying the source) internal app utilizing Captivate and actionscript create .sol files (flash cookies) that track progress. They are persisting intermittently, and troubleshooting (googling the shiat out of) the behavior of the creating and disappearing as modules are navigated has led me to believe that the files may not be closed, and are being discarded rather than saved. I am attempting to confirm or deny this at various stages throughout the tutorial. Edited June 25, 2013 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Solution AdmiralAlkex Posted June 25, 2013 Solution Share Posted June 25, 2013 Have you tried Process Monitor? It allows you to see writes, flushes and all that. iamtheky 1 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
iamtheky Posted June 26, 2013 Author Share Posted June 26, 2013 (edited) That did it, thank you Alkex. Why this was occurring as revealed by process monitor: an amazing amount of createfile-->query-->queryall-->closefile calls from the webpage serving the content (many hundreds of times a second, such that my original request, if met, would have been useless). Now whomever wrote that gets to go fix their ridiculous looping. Edited June 26, 2013 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 26, 2013 Share Posted June 26, 2013 I'm happy you found it. Files not getting saved as they should is one of the most annoying things I know .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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