White_Rabbit Posted November 13, 2007 Share Posted November 13, 2007 (edited) Hi. What can I do in this case: CODE For $i = 1 to 34 Step 1 Run("psexec \\ws$i\C$\testprogram.exe") Next The $i in the " " does not work like this Thanks! Edited November 13, 2007 by White_Rabbit Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 13, 2007 Moderators Share Posted November 13, 2007 Hi.What can I do in this case:CODEFor $i = 1 to 34 Step 1Run("psexec \\ws$i\C$\testprogram.exe")NextThe $i in the " " does not work like this Thanks!Run("psexec \\ws" & $i & "\C$\testprogram.exe") Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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