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-08-24 19:55
中国DOS联盟论坛 » WinPE、PowerShell及其它命令行系统专区 » [Collection] Abbreviations of command parameters View 3,166 Replies 4
Original Poster Posted 2006-07-02 15:09 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
There are many commands under Windows that can be abbreviated. This post is specifically to collect such commands.

1. Run as another identity:

runas /u:admininistrator cmd

/u: stands for /user:

2. Establish IPC$ connection:

net use \\127.0.0.1\ipc$ /u:administrator

/u: is /user:

3. Delete all shared connections

net use * /d

/d is equivalent to /del

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-28 10:27 ·  中国 四川 雅安 电信
新手上路
Credits 4
Posts 2
Joined 2006-07-28 10:04
20-year member
UID 59414
Status Offline
Floor 3 Posted 2006-11-16 04:11 ·  中国 广东 广州 电信
新手上路
Credits 16
Posts 7
Joined 2005-12-21 13:25
20-year member
UID 47588
Status Offline
Support! Good stuff!
Floor 4 Posted 2007-04-25 10:48 ·  中国 湖北 黄冈 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
This is too much. Maybe there is an automatic matching function for parameters. If the first letters are repeated, write the second letter.

For example: in "net user", /ad stands for /add; /de stands for /del.

They cannot be abbreviated as /a and /d because there are other parameters, such as /domain.
@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 2009-02-03 04:39 ·  中国 内蒙古 呼和浩特 电信
新手上路
Credits 19
Posts 9
Joined 2006-03-23 03:16
20-year member
UID 52628
Status Offline
Give it a thumbs up, many command-line tools have abbreviations.
Forum Jump: