- Jun 16 Tue 2009 16:50
-
DOS Batch - Function
- May 13 Wed 2009 11:10
-
REGEDIT.exe COMMAND LINE正確使用方法
Import (merge) a .REG file:
REGEDIT.EXE [ /L:system | /R:user ] [ /S ] importfile.REG
- May 07 Thu 2009 23:09
-
How to use XP Command-Line FINDSTR ?
Regular Expressions (Searching for patterns of text)
Character
Value
.
Wildcard: any character
搜尋任意字串(不含空字串或空白行)
*
Repeat: zero or more occurrences of previous character or class
^
Line position: beginning of line
找出每行開頭,符合指定的字串
$
Line position: end of line
找出每行結尾,符合指定的字串
[class]
Character class: any one character in set
找出符合[]內之字元資料。
[^class]
Inverse class: any one character not in set
相反於[class]的結果,就是不在集合內的內容才符合。
[X-y]
Range: any characters within the specified range
找出符合[]內之起迄字元資料 (符合之一即是)。[0-9][A-Za-z]。
\X
Escape: literal use of metacharacter X
這個功能尚未明瞭….。
\<xyz
Word position: beginning of word
找符合英文字開頭,例: \<wor 可找到hello world
xyz\>
Word position: end of word
找符合英文字結尾,例: \<lo 可找到hello world
- May 06 Wed 2009 14:23
-
dos Batch 如何快速比較兩個檔案是否相同?

Batch下比較檔案,試了很多方法: 1.比較檔案日期(但取不到日期) 2.比較檔案size(但指令看起來比較複雜) 3.FC.EXE =>比較兩個檔案或兩組檔案並且顯示其中的不同之處。
(是系統指令,XP,win2000都存在c:\windows\system32\下)
- Sep 29 Mon 2008 14:21
-
DOS COMMAND IF 比較運算元 是> < =嗎?
