Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Creating a WinPE Script File

20 Feb 2011   #1

Windows 7 Ultimate x64
Creating a WinPE Script File

Hello All,

I'm using the WIAK CD to create a winpe boot media and it works fine, there are a few commands that you have to remember so I created a winpe.cmd file to make life easier. Here is the content of my winpe.cmd file:

copype x86 c:\winpe
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim
copy "c:\program files\windows aik\tools\x86\imagex.exe" c:\winpe\iso
oscdimg -n -bc:\winpe\ c:\winpe\iso\ c:\winpe\winpe.iso

when I run (from the WAIK command line in admin mode) the first line copype x86 c:\winpe is the only line that executes, can anyone tell me why the rest of the commands don't run?


Pat Dee.

My System SpecsSystem Spec
20 Feb 2011   #2
Microsoft MVP

Windows 7 Ultimate 32bit SP1

My System SpecsSystem Spec
20 Feb 2011   #3

Windows 7 Ultimate x64

Thanks Jacee, interesting reading.....but I was aware of this issue is more to do with creating automation for the creation of a winpe media. I'm just not familiar with the creation process.....
My System SpecsSystem Spec
22 Feb 2011   #4

Windows 7 Ultimate x64

Okay...I managed to figure it out.....I need to insert the "Call" command in the .cmd file.

Thanks everyone.
My System SpecsSystem Spec

 Creating a WinPE Script File

Thread Tools

Similar help and support threads for2: Creating a WinPE Script File
Thread Forum
How to run a .bat (script) file General Discussion
Script permissions in .reg file? General Discussion
Creating a batch script or use a 3rdpartyprogram to create shortcuts General Discussion
Creating a Show Desktop Script for keyboard Hotkey. General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:57 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App