Sign in to follow this  
Followers 0
elchaca

How to impletated to Autoit

4 posts in this topic

#1 ·  Posted

How do I impletated this to autoit?

 

FOR /F "tokens=3* delims=  " %%a IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common AppData" 2^>NUL') DO SET CADFOLDER="%%b"

Share this post


Link to post
Share on other sites



#2 ·  Posted

regread

Share this post


Link to post
Share on other sites

#3 ·  Posted

You mean:

REGREAD FOR /F "tokens=3* delims=  " %%a IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common AppData" 2^>NUL') DO SET CADFOLDER="%%b"

Share this post


Link to post
Share on other sites

#4 ·  Posted

@elchaca admittedly the response from kosamja left a bit to be desired. Take a look at RegRead in the help file, along with the example provided, to see how it works. Based on your batch file, you may also want to look at RegEnumVal in the help file. You will see in that example how you can iterate through a key in the registry, looking for values. You can then use RegWrite to change the value.


√-1 2^3 ∑ π, and it was delicious!

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