SPBumgar Posted May 13, 2010 Share Posted May 13, 2010 Hello All, Hope someone can help me. I have been running the following piece of code for the last 2 weeks with no issues $arg1=$CmdLine[1] $arg2=$CmdLine[2] if ($arg2 = "Start") Then $path = "D:\xyz\abc\" & $arg1 Send ("#r") Sleep (800) Send ($path) Send ("{ENTER}") endif Until this afternoon, I have been able to see the Start->Run window launched and the executable name that I send filled in and launched correctly. I am not sure what has changed on the machine, now when I run the script. I see the Start->Run window launched. Then rather than the path D:\... being typed into the Run window, I see "My Recent Documents" opened. Somehow the "D" key is getting remapped. I would appreciate any help or pointers to where I can find a solution to this issue. Thanks. Link to comment Share on other sites More sharing options...
l3ill Posted May 13, 2010 Share Posted May 13, 2010 Not sure if this is why but you are missing () around your path variable... My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example 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