Jump to content

@AppDataDir for local ?


Recommended Posts

@AppDataDir takes to :(

Username\Application Data XP

Username\Roaming Vista\7

Is there one that would take to :)

Username\Local Settings\Application Data XP

Username\Local Vista\7

?????????????????????????????????????????????

Yes i could use If @os = "Win_XP" or Vista or 7 or 2000 or 2008 or 2003 or more but i would end up coding to much if's and Then's. :)

Man i need this. i work with these folders so much i cant stand the need to code ton of If's to make this work on all window versions

I also wonder if there is a function that determines if specified executable is 32 or 64bit ?

Please help me find it, i cant find it and i tried countless times.

Edited by madasraka
Link to comment
Share on other sites

I also wonder if there is a function that determines if specified executable is 32 or 64bit ?

Not sure of specified executable but you are possibly referring to your script. Look at the macros for @AutoItX64 which returns 1 for a 64bit AutoIt script being executed. Then look at @OSArch which returns whether the OS is X86, IA64 or X64. Those would your primary macros of concern with 32bit and 64bit OSes. Then use other macros as needed. Edited by MHz
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...