win xp 在cmd mode 下用route add 的指令會不會自動消失的??

2006-11-01 7:53 pm
上星期加了一個route,今天開機就用不到,之前整個星期都冇事的,再用route add後才可再用。IP一直都冇轉過

回答 (1)

2006-11-01 9:58 pm
✔ 最佳答案
route add 預設是會在重新啓動後消失的,追加-p參數就可以在重新啓動後保存route add項目。此參數於Windows 95 下無效。

見route /?

Manipulates network routing tables.

ROUTE [-f] [-p] [command [destination]
[MASK netmask] [gateway] [METRIC metric] [IF interface]

-f Clears the routing tables of all gateway entries. If this is
used in conjunction with one of the commands, the tables are
cleared prior to running the command.
-p When used with the ADD command, makes a route persistent across
boots of the system. By default, routes are not preserved
when the system is restarted. Ignored for all other commands,
which always affect the appropriate persistent routes. This
option is not supported in Windows 95.
command One of these:
PRINT Prints a route
ADD Adds a route
DELETE Deletes a route
CHANGE Modifies an existing route
參考: 見cmd --> route /?


收錄日期: 2021-04-12 23:39:24
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061101000051KK00972

檢視 Wayback Machine 備份