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
PatDee

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\etfsboot.com 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?

Thanks

Pat Dee.


My System SpecsSystem Spec
.
20 Feb 2011   #2
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

My System SpecsSystem Spec
20 Feb 2011   #3
PatDee

Windows 7 Ultimate x64
 
 

Thanks Jacee, interesting reading.....but I was aware of this issue.....my 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
PatDee

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
Reply

 Creating a WinPE Script File




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows 7 creating blank txt file after running a batch script
I have the following batch script @echo off setlocal enableextensions set "baseName=dnshistory" set "count=0" for /f "delims=%baseName%." %%a in (
General Discussion
Help needed in creating a script to change certain Windows 7 settings
Morning, afternoon and or evening ladies and gentlemen. Glad to be a part of the forums. As the title of the thread implies, I would like some help in creating a script or scripts to change a few settings in windows instantaneously with a single keystroke, command or perhaps using specific...
General Discussion
How to run a .bat (script) file
Hi All, I have two .bat files (script) that I'd like to run from their location in command mode with admin. privl. How do I do this? Best, ms
General Discussion
Creating a batch script or use a 3rdpartyprogram to create shortcuts
Hello! I'm having trouble creating a batch script to simply copy a shortcut to the desktop from a program installation, then carry out some tasks. Overall my goals are: Burn a CD that includes a autorun.inf that will load a batch script In the script I want it to activate two self...
General Discussion
Creating a Show Desktop Script for keyboard Hotkey.
Hello (firstly i wasnt too sure where to put this post, so if a moderators reading this - feel free to move it.) Okay so ive just got a Logitech Cordless Desktop EX110, and the keyboard (like most moderately priced keyboards) has numerous 'hot-keys' (like music controls, email button,...
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 15:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App