madasraka 0 Posted April 20, 2010 (edited) @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 April 20, 2010 by madasraka Share this post Link to post Share on other sites
Danny35d 15 Posted April 20, 2010 Take a look to this link ===> Getting the Local Application Data folder AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Share this post Link to post Share on other sites
madasraka 0 Posted April 20, 2010 thanks a ton mass spammer Share this post Link to post Share on other sites
MHz 80 Posted April 20, 2010 (edited) 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 April 20, 2010 by MHz Share this post Link to post Share on other sites