home *** CD-ROM | disk | FTP | other *** search
- ; Example Script
- ; ==============
- ;
- ; OS: Windows 9x/NT
- ; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
- ;
- ; Creates a file called C:\hello.txt using the command.com command
- ; Echo and redirection
-
- MsgBox, 4, AutoIt Example, Uses \%COMSPEC\% to pipe text to a file. Run?
- IfMsgBox, NO, Goto, denied
-
- Run, %COMSPEC% /C Echo Hello > C:\\Hello.txt
-
- denied:
- Exit
-
-
-