I have problem using HP USB format tool. I use Hpusbf.exe with this simple switch in my script to format USB device:
ShellExecute,Open,"%Temp%\grub\hpusbf.exe","%pScrollBox4% -FS:NTFS -y"
Everything works fine with formatting and USB device boot up with a breeze. But I always have to correct partition table to the correct value
This is done automatically using Norton PartitionMagic witch offers me to correct partition table. This is what PartitionMagic tells me:
“PartitionMagic has detected an error 110 on the partition starting at sector 63 on disk1. The length of the partition in the partition table is incorrect, the CHS length is 995967, the LBA length is 996030 and the filesystem length is 996029. The length can be changed to the correct value of 1012032”
I of course use this option and the problem are solved.
My question is; can I change or put in something in my switch in line for Hpusbf.exe (-FS:NTFS -y) to create a correct partition table from start?
yggdrasil








