2009年9月23日 星期三

windows boot.ini Boot INI Options Reference

Boot INI Options Reference
http://technet.microsoft.com/en-us/sysinternals/bb963892.aspx

2009年9月12日 星期六

windows batch 合併數個檔案 copy /b file.00* file

copy .b file.00* file

將 file.001, file.002, ... 合併到 file

2009年9月7日 星期一

VirtualBox install Dos 6.22

1. install VirtualBox
2. download Dos6.22's image file
3. mount the image to floppy
4. boot virtualBox and type
A:\>format c: /s
A:\>copy *.* c:
(with option NO)
5. unmount floopy and reboot

2009年9月6日 星期日

my 16 bytes partition

MBR is located at the first sector: (head,sector,cylinder)=(1,0,0)

16-byte partition record in my MBR:
80 00 01 07 07 00 ff ff 47 00 01 00 52 00 00 0a

Its Meaning:
80 bootable
00 01 07 beginning block (head, sector, cylinder)
07 Windows NT NTFS
00 ff ff last block (head, sector, cylinder)
47 00 01 00 LBA of first sector in the partition
52 00 00 0a number of blocks in partition, in little-endian format

Ref:
wiki
and

2009年9月2日 星期三

(windows bat) recursively copy , delete (xcopy, rd)

Recursively copy all files and subdirectories:

(from a to b)

xcopy /E DIRA DIRB

, where /E means including empty directories.


Recursively delete a directory and its files and subdirecotries:

rd /S /Q

微軟的WINS伺服器

什麼是WINS,看這篇

WINS的運作,看這篇

軟微WINS這東西看來想要簡化網路上電腦的管理,
WINS伺服器存有Name-to-Address database,
以Name而非以ip為管理的個體位址,
以domain而非以subnet address為管理網域的方式。

運作的方式:
由WINS伺服器接收多台Client註冊其(Name, IP),
於是當Client A想得知Client B的IP時,
就可向WINS詢問Client B的IP,取得聯絡的方式。

聽起來很像DNS,不過更人性話,抽象層次更高。