9h0s7 Posted July 10, 2007 Posted July 10, 2007 Greetings all. I have written several autoit scripts to co inside with WPI to virtual automate the process of re-installing software on customers computer (I work at a computer repair store where formats happen alot). Anyway, it all works great across the network, but there have been times where I (or the other people using it) do not have access to the shared folder. This is where a flash drive comes in to play. What I need to do is rewrite my scripts to run from a flash drive, but the drive letter is hardly ever the same, and the WPI is in a different directory then the scripts, complicating this even further. Let me give an example. (drive letter):\wpi\wpi.exe [program runs, user selects options - installation starts - wpi calls autoit scripts] (drive letter):\auto\(name of script).exe Any ideas???
Bert Posted July 10, 2007 Posted July 10, 2007 maybe use the macro @ScriptDir. Also, I have a tool that will work great for you in solving your problem. I'll PM you the script. The Vollatran project My blog: http://www.vollysinterestingshit.com/
9h0s7 Posted July 10, 2007 Author Posted July 10, 2007 I'd rather not redo the whole process and switch to another method. I had to pull some teeth to get the other techs to 'covert' from their old school ways. Pulling a new program on them, wouldn't be very nice of me lol. I think the @ScriptDir could work. I'll have to make some minor changes but in the long run I think this method will work best. I'll post a follow up on how things turn out
9h0s7 Posted July 18, 2007 Author Posted July 18, 2007 the @ScriptDir worked great and my post installer dvd works the way I needed it to. Thanks for your response. Case closed
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