RMPart USB
RMPart USB
Syntax:
RMPARTUSB [DRIVE=n | FIND | LIST | FILEINFO] [CLEAN | QUICKTEST | SPEEDTEST |
ERASE | GETDRV | (copy command)] [SURE][DEBUG]
Special:
[ZIP][CHS][2PTN][FORCELBA][WRITEMBRONLY] [USBFDD]{[NTFS]|[FAT32]|[EXFAT]}[NOACT]
[SIZE=x][ALLDRIVES][FIRSTPART=n][VOLUME=aaa]
Volume boot code options:
[DOSZIP | FREEDOS | MSDOS | XP/NTLDR | VISTA/WINP/BOOTMGR/WIN7 | GRUB4DOS]
Copy commands:
RMPARTUSB USBTOFILE | FILETOUSB | FILEINFO | USBINFO
Copy parameters:
DRIVE=n FILE="path\fname" USBSTART=s FILESTART=b LENGTH=b
Where:
b=bytes, s=sectors or use nSEC,nKB,nMB,nGB,MBR,MBR+,P1,P2,P3,PEXT,PALL or DALL
MBR first sector of disk or 512 bytes of file
MBR+ up to but not including start of first partition
Pn start or end of partition (P1-P4)
PEXT start or end of extended partition (inc all logical ptns)
PALL up to end of last partition (default)
DALL all sectors on USB drive (default if no partition table)
If no partition in source then default is LENGTH=DALL or file length.
--------------------------- NOTES
-----------------------------------------------------
Notes: 2PTN, CHS, NTFS, FORCELBA, FAT32, EXFAT, USBFDD and ZIP are override
keywords.
XP and NTLDR options have same function (used for XP/WinPE v1/BartPE).
WINPE/BOOOTMGR/WIN7/VISTA use for VistaPE/WinPEv2/Vista/Win7 (all same!).
VOLUME= must always be at very end of command line, if used.
CHS for max. BIOS compatibility, uses Type 6 if FAT16, 64hds/32secs if poss.
ZIP uses CHS and sets volume boot record parameters to floppy disk type.
Use ZIP if boot problems or to boot as A: drive.
DOSZIP uses a FAT16 MSWIN4.1 BPB, MSDOS uses a FAT16 MSDOS5.0 BPB.
NOACT Set partition as non-bootable (not active)
2PTN For maximum HDD compatibility, try adding '2PTN' which adds
a small 2nd ptn to ensure a BIOS recognises the UFD as a hard disk.
FORCELBA Sets CHS params in ptn table to max., even if ptn under 8GB.
ZIP + CHS - Use for maximum ZIP compatibility.
ZIP + USBFDD - Use for maximum Floppy compatibility.
2PTN + FORCELBA - Use for maximum HDD compatibility.
---------------------------- ABOUT
----------------------------------------------------
-------------------------- INSTRUCTIONS
-----------------------------------------------
Errorlevels: 0=OK, 1=Bad param, 2=User abort, 3=Not found, 4=Not a USB device,
5=Unknown error, 6=Disk or operational error, 7=Write error.
Maybe need a DRIVE=n, FIND, LIST or FILEINFO parameter?