Sign in to follow this  
Followers 0
MrSheen

Localappdata Vista/7

2 posts in this topic

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



@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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0