mysery 0 Report post Posted July 22, 2008 (edited) Guys.. I'm new to Autoit and don't know much about scripting. I'll be greatful if someone can tell me how to write a script is it possible to make an application that'll always be running and deletes the file " i want to delete a file from a pendrive , when the pendrive is plugged into the computer" File names :a> My_Personal_Data.exe Thanks for anyhelp that u guys can lend muttley Edited July 22, 2008 by mysery Share this post Link to post Share on other sites
Golbez 1 Report post Posted July 22, 2008 FileDelete FileExists research them muttley Share this post Link to post Share on other sites
BrettF 24 Report post Posted July 22, 2008 Also DriveGetDrive ("REMOVABLE"). Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Share this post Link to post Share on other sites