DJones Posted February 5, 2005 Share Posted February 5, 2005 How can I run a dos command and use dos variables without have to use envget first... ; Create top level OU Envset ("topou", "RAK Tire") Envset ("addc", "review") Envset ("addcend", "sso") ; TOP LEVEL runwait 'dsadd ou "ou=%topou%,DC=%addc%,DC=%addcend%" ', @WindowsDir, @SW_HIDE Link to comment Share on other sites More sharing options...
Andre Posted February 5, 2005 Share Posted February 5, 2005 fill the variables in your script and then use them like below runwait('dnsadd ou ou=' & $topou & ',Dc=' & $adddc & 'DC,=' & $addcend,@WindowsDir,@Sw_Hide) Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now