Building a simple script to help my fellow technicians image computers with Windows 7. I have everything figured out with a DOS script utilizing GImageX. I would like to Autoit this instead. Basically I run this code below which gets me the first part lstdsk = list disk RunWait ("cmd /c diskpart /s dsk\lstdsk > dsk\lstdsk.txt", "", @SW_HIDE ) $file = FileOpen("dsk\lstdsk.txt", 0) That gets me a text file that I then read with this part of the script And puts it in s a GUI