amio Posted May 29, 2008 Share Posted May 29, 2008 Delete files content ,As well as revision increase *.inf Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 29, 2008 Share Posted May 29, 2008 Delete files content ,As well as revision increase *.infIt's just a plain text file in INI format. What is special about what you want to do? Do you have an example? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
amio Posted May 30, 2008 Author Share Posted May 30, 2008 [Version] Signature = "$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} DriverVer=07/01/2001,5.1.2600.5512 [aaa] Signature aaaaaaaaaaa [bbb] ;bbbbbbbbb [ccc] ccccccccccc Remove The Contents ? ;bbbbbbbbb Link to comment Share on other sites More sharing options...
BrettF Posted May 30, 2008 Share Posted May 30, 2008 Gonna have to be more specific as I still have no idea what you want. 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! Link to comment Share on other sites More sharing options...
amio Posted June 1, 2008 Author Share Posted June 1, 2008 This is a code: -------------- [Version] Signature = "$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} DriverVer=07/01/2001,5.1.2600.5512 [aaa] aaaaaaaaaaa [bbb] ;bbbbbbbbb [ccc] ccccccccccc ------------------- I want to delete one of his party aaaaaaaaaaa or ;bbbbbbbbb or ccccccccccc Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 2, 2008 Share Posted June 2, 2008 This is a code: -------------- [Version] Signature = "$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} DriverVer=07/01/2001,5.1.2600.5512 [aaa] aaaaaaaaaaa [bbb] ;bbbbbbbbb [ccc] ccccccccccc ------------------- I want to delete one of his party aaaaaaaaaaa or ;bbbbbbbbb or ccccccccccc Read the whole thing into a string and delete from "[aaa]" (or whichever) to next instance of "[". Then write the string back to the file. Doesn't seem very tricky. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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