endlesslyonline 0 Posted September 25, 2011 I have done a small script, to test something. I made a form that has one button, that pings a a IP address, so, when i run the code the CMD window pops up, and shows the PC being pinged. However, when i run the same scrip in winPE, it does not work. Does commands differ when running it in winPE? Secondly, i want to make my own imagex GUI, for restoring wim images in PE, can someone give me example code of getting a indicator how far the process is? I tried google, but im a bit of a autoIT nub, so the stuff i read does not help much. Thanks Share this post Link to post Share on other sites
Tripredacus 35 Posted September 27, 2011 I do all preliminary testing in a live OS before the next phase of testing WinPE. There is no difference to ping in WinPE than in Windows. Then again, you haven't posted any code. I've never had to ping using AutoIT, all my ping commands are done with the startnet.cmd. I'm sure there are some AutoIT implementations for deployment... perhaps look into http://www.autoitscript.com/site/autoit-tools/gimagex/ Twitter | MSFN | VGCollect Share this post Link to post Share on other sites
spudw2k 231 Posted September 28, 2011 Before you re-invent the wheel, have you seen GImageX? Spoiler Things I've Made: AOT Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Share this post Link to post Share on other sites
NDog 0 Posted October 10, 2011 I have also made a GUI to do with restoring wim files in Windows PE and Bart PE to restore windows xp and windows 7 wim files to machines. This code is useful for doing progress bars regarding imagex progress and may help you on your way. Share this post Link to post Share on other sites
Kendall 0 Posted October 10, 2011 I found it better to use Powershell rather than the command prompt. You can call on the Powershell window and send information to it easier. It worked in Windows PE as well for me. The Codemonkeyhttp://www.BMVHDloader.com Share this post Link to post Share on other sites