File Version: 1.0.0
File License: GNU Public Licence
How to get a boot disk from Windows XP files
This is the result of an interesting topic started out by jaclaz regarding some "hidden" features embbebed on some windows XP/2003 files (not sure about win2000 yet..).
The source code below exemplifies a sample script that can be used to obtain a bootable DOS disk (based on windows millennium) from your local windows.
[main] Title=Extract boot disk Description=This script uses a special command that will search for a specific byte signature inside the files that match the specified wildcard (subdirs included). Once the first match is found, this command will extract the specified byte length to a new file - this is how this script will find our boot disk. Selected=True Level=4 Author=Boot Land community Contact=http://BootLand.pt.vu Credits=Thanks to jaclaz who started a very interesting topic, wich taught how to handle some of the hidden resources within system. Version=043 Locked=true Date=2006-07-05 [process] FileByteExtract,"%WindowsDir%\system32\diskcopy.dll","%targetdir%\bootdisk.img",EB3C902A2D76345649484300,1474560
You can find more detailed informations on the original topic here:
This is where we'll search for the code - if wildcards are used it will also search on subdirs..
This is the resulting file if a match is found - after a match the command will stop searching for more matches.
This is the byte signature wich is used to identify the start of the sample to extract
This is the exact size of a floppy image (the number of bytes to extract - including signature bytes)
This command is available on OB builds 043 and above,
Submitted by Nuno Brito, on Today, 06:45 AM