2020 Posted June 11, 2008 Share Posted June 11, 2008 anyone can tell me how can i delete a file by its process because i don't know the file path. i think first i need to kill its process but after that how can i delete the file using autoit? any one please help me... i am in a big trouble. My New System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 300 GB HDs RAID 1, 4 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, Mozila FireFox 3, Office 2007 , AutoIt :D Link to comment Share on other sites More sharing options...
AlmarM Posted June 11, 2008 Share Posted June 11, 2008 Could you give us some code? -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
DMEE Posted June 11, 2008 Share Posted June 11, 2008 first: _ProcessGetName ( $iPID ) Then: _WinAPI_FindExecutable($sFileName[, $sDirectory = ""]) In the beginning there was nothing and then even that exploded - anonymous Link to comment Share on other sites More sharing options...
sandin Posted June 11, 2008 Share Posted June 11, 2008 search in the example scripts, there are some UDFs that can retrieve filepath of a process Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
2020 Posted June 11, 2008 Author Share Posted June 11, 2008 @ DMEE @ Sandin can you please give some example , i am new to autoit. thanks! My New System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 300 GB HDs RAID 1, 4 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, Mozila FireFox 3, Office 2007 , AutoIt :D Link to comment Share on other sites More sharing options...
Recommended Posts