Jump to content
Sign in to follow this  
MrSheen

Localappdata Vista/7

Recommended Posts

MrSheen

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

@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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.