这是mount_copy.cmd a.txt b.txt 这些文件的名字只是随便叫的,因此,可能是名字和内容完全不搭调。
%mount_copy build by ideal.%
@echo off
copy .\create\kernel.elf .\
ping -n 1 127.0.0.1 > nul
objcopy -I pe-i386 -O elf32-i386 kernel.elf
ping -n 1 127.0.0.1 > nul
diskpart /s a.txt
ping -n 1 127.0.0.1 > nul
move kernel.elf d:\kernel
ping -n 1 127.0.0.1 > nul
diskpart /s b.txt
ping -n 1 127.0.0.1 > nul
select vdisk file="C:\Users\free2\VirtualBox VMs\SnailOS\SnailOS.vhd"
attach vdisk
select vdisk file="C:\Users\free2\VirtualBox VMs\SnailOS\SnailOS.vhd"
detach vdisk