jslegers Posted February 12, 2008 Posted February 12, 2008 Hello, I have the following script. Run ( "ListUsbDrives.exe > usbdrives.ini", @ScriptDir ) It doesn't create de usbdrives.ini. Waht could be the problem. In dos it works. Only Autoit has a problem with it. John
GaryFrost Posted February 12, 2008 Posted February 12, 2008 Try: Run (@ComSpec & " /c ListUsbDrives.exe > usbdrives.ini", @ScriptDir, @SW_HIDE ) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
jslegers Posted February 12, 2008 Author Posted February 12, 2008 Try: Run (@ComSpec & " /c ListUsbDrives.exe > usbdrives.ini", @ScriptDir, @SW_HIDE ) Thanks GaryFrost. That was it.
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