MrSheen 0 Posted July 21, 2010 Hello I'm using this for XP $szFile = @UserProfileDir & "\Local Settings\Application Data\DVDShrink\Settings.ini" $szText = FileRead($szFile,FileGetSize($szFile)) $szText = StringReplace($szText, "", "") $szText = StringReplace($szText, "", "") FileDelete($szFile) FileWrite($szFile,$szText) Also tried %systemdrive%\Documents and Settings\%username%\Local Settings\Application Data\DVDShrink\Settings.ini However for Vista and 7, both do not work and I have no idea what the 7/Vista equivalent is. Can someone please Advice? Mr Sheen Share this post Link to post Share on other sites
sleepydvdr 8 Posted July 21, 2010 @AppDataDir & "\DVDShrink\Settings.ini" <--might work better. The directory structure you created is for XP. Vista & 7 reorganized those directories. #include <ByteMe.au3> Share this post Link to post Share on other sites