anwar123 Posted March 9, 2004 Posted March 9, 2004 try this site in click Scenario Sample Script Disk 0: 20 GB basic diskC: 4 GB NTFS system volume (already created)D: 16 GB NTFS data volume (uses the remaining unallocated space on the disk)Disk 1: 60 GB basic diskR: 60 GB NTFS data volume (uses all unallocated space on the disk) In Createpart.txt:1 select disk 0create partition primaryassign letter dselect disk 1create partition primaryassign letter rIn Formatpart.bat:diskpart/s createpart.txtecho y | format d: /fs:ntfsecho y | format r: /fs:ntfs1 You do not need to specify the DiskPart size= parameter in this example because the partitions use all the unallocated space on their respective disks.You can use Windows Setup Manager to specify Formatpart.bat by following the example shown in Figure 12.5. Programs that you enter in the Command to run box appear in the [GuiRunOnce] section of Unattend.txt or Sysprep.inf.Figure 12.5 Configuring Run Once in Windows Setup Manager[GuiRunOnce] contains a list of commands that Windows XP Professional executes the first time a user logs on to the computer after GUI-mode Setup has completed. Each line specifies a command to be executed by the GuiRunOnce registry entry. For example:[GuiRunOnce]Command0 = c:\formatpart.bat
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now