Jump to content
Sign in to follow this  
druiddk

Grabbing "dos" Variable Into Autoit Variable?

Recommended Posts

Hello, this is only my 2nd post here so please bare with me :)

Im in the process of trying to improve a couple of my old scripts (which are a combination of batch and vbs).

Example:

for /f "Tokens=5" %%i in ('%USBDRIVE%\Flora\Tools\REG QUERY HKCU\Identities /v "Default User ID"^|find "Default"') do set default_identity=%%i

I would then like to grab the %default_identity into a variable in AutoIT... could someone give me a pointer?

Sorry if this has already been discussed in an earlier thread (im sure it has, i just havent been able to dig it up).

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...