jslegers Posted February 12, 2008 Share 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 Link to comment Share on other sites More sharing options...
GaryFrost Posted February 12, 2008 Share 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. Link to comment Share on other sites More sharing options...
jslegers Posted February 12, 2008 Author Share Posted February 12, 2008 Try: Run (@ComSpec & " /c ListUsbDrives.exe > usbdrives.ini", @ScriptDir, @SW_HIDE ) Thanks GaryFrost. That was it. 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