2011/2/6

NTP Note

NTP Note

當安裝完DC後,關於W32Time error




查看PDC的Time synchronize

How to find out the PDC emulator and how to configure it to synchronize with the NTP server?

1.   To find out the PDC emulator, In "Active Directory Users and Computers", right click the domain and select "Operation Masters", then select the "PDC" tab, you can see which computer is the PDC emulator.
2.   To configure the PDC emulator to synchronize with an NTP server, create a Group Policy that only affects this PDC emulator, (can be a local Policy on the PDC emulator), in Computer Configuration | Administrative Templates | System | Windows Time Service | Time Providers, edit the setting "Configure Windows NTP Client".

2011/2/5

瞭解一下DOS文檔的一些規範


 在DOS系統中,一般使用這樣的格式來說明DOS命令:“dir [C:][path][filename][.ext][/o][/s][/p][/w][/a]”
 其中“dir”是DOS命令,後面的都是命令的參數,在DOS中,可以使用命令+/?來取得關於該命令的參數和相關的功能解釋。大家今後遇到比較陌生的DOS命令的時候,可以使用這個方法來得知該命令的參數,學會使用。

 C:
 這個部分是盤符,如果是D盤的話就是d:,依次類推。在很多作業系統中都沒有“盤”這個概念
 Path
 表示路徑,如果沒有路徑,表示對當前盤的當前目錄進行操作。
 Filename
 檔案名,在這裏指的是檔的主名。一定的程式往往處理一定副檔名的檔,所以很多時候不需要輸入副檔名。
 .ext
 副檔名,相對於上面的主名的文件的副檔名。一般用來說明文件的格式。
 Filespec
 文件識別字
 [ ]
 方括號,表示其中的專案是可選項,用戶可以根根據需要不輸入這些內容
 { }
 大括弧,表示其中的項目必選一項
 |
 豎線,表示兩側的內容可取其一
 …
 表示,可重複項。