China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-24 05:12
中国DOS联盟论坛 » WinPE、PowerShell及其它命令行系统专区 » A few interesting commands View 3,574 Replies 6
Original Poster Posted 2006-06-29 17:06 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
The following commands are effective in XP

Check MAC address:
getmac

Register DLL
Msiexec /y xxx.dll
Is equivalent to regsvr32 xxx.dll
Unregister DLL
msiexec /z xxx.dll
Is equivalent to regscr32 /u xxx.dll

View files opened remotely through local share points:
openfiles


Set virtual memory (write a bat, no need to set manually every time the system is reinstalled ~~)
cscript Pagefileconfig.vbs

Display file (equivalent to type and copy xxx con)
print /d:con FileName

View dial-up Internet access
rasdial

Set of commands related to TCP/IP:
Arp
Nslookup
Finger
Ping
Ftp
Rcp
Hostname
Rexec
Ipconfig
Route
Lpq
Rsh
Lpr
Tftp
Nbtstat
Tracert
Netstat

Commands used in the terminal
change logon
change port
change user
cprofile
flattemp
logoff
msg
mstsc
query process
query session
query termserver
query user
register
reset session
shadow
tscon
tsdiscon
tskill
tsprof
tsshutdn

[ Last edited by electronixtar on 2006-6-29 at 17:40 ]

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 2 Posted 2006-07-01 12:26 ·  中国 浙江 衢州 电信
银牌会员
★★★
Credits 1,270
Posts 548
Joined 2004-05-31 00:00
22-year member
UID 25754
Gender Male
Status Offline
Practicing these commands is quite interesting. The things in the command line are the most fun. There are many things that graphical interface operations can't do, and the command line is still indispensable. Some computer failures still need it.
Floor 3 Posted 2007-05-30 09:23 ·  中国 江西 南昌 电信
新手上路
Credits 8
Posts 4
Joined 2007-05-18 11:01
19-year member
UID 88907
Gender Male
Status Offline
Floor 4 Posted 2007-08-15 23:22 ·  中国 湖北 潜江 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 5 Posted 2007-08-16 10:50 ·  中国 广东 东莞 电信
初级用户
Credits 79
Posts 37
Joined 2007-04-26 12:31
19-year member
UID 86552
Gender Male
Status Offline
It's good to learn more about these commands, because they can be used a lot in the future.
Floor 6 Posted 2007-08-28 09:16 ·  中国 浙江 杭州 电信
初级用户
Credits 32
Posts 16
Joined 2007-03-29 04:34
19-year member
UID 83245
Gender Male
Status Offline
Why do I always forget it!
Floor 7 Posted 2007-09-03 16:51 ·  中国 福建 厦门 电信
新手上路
Credits 2
Posts 1
Joined 2007-09-03 15:11
18-year member
UID 96464
Gender Male
Status Offline
Only a little bit of these are used, and the rest are still in the computer!!!!!
Forum Jump: