敲了一晚上的键盘很爽,学会了好多命令,比如 netstat -n netstat -e netstat -s netstat -a 这些是查看TCP/ICP数据连接状况的,登陆一个网站马上输入netstat -n就可以知道这个网站的主机IP,很爽。

time 是查看和设置时间的,ver,或者winver 是查看计算机版本的。

net user查看电脑上有哪些用户。ipconfig查看本机IP地址的,config嘛,配置的意思。

ren 修改文件名字,如 ren D:\电影\007黑日危机.avi 009.白日危机.avi 就是把D盘的电影文件夹下的 007黑日危机.avi 这个文件改为 009.白日危机.rm 名称和格式都改变了,但路径是没有改变的。

mem是查看CPU使用情况的命令,start 是重新打开一个窗口。

>表示输入为一个文件。如 mem >D:\mmmmm.txt 表示将mem命令的结果写入到D盘一个刚刚建立好的名为mmmmm.txt的文件里。

at 查看所有计划的任务,maskmgr 打开任务管理器。title 改变DOS窗口名称。

tasklist 显示当前进程列表。finger username @host 查看最近有哪些用户登录。

/p 表示满屏停止现实,按任意键继续开始下一页。

ntsd -c q -p PID 关掉进程 PID就是进程的PID,一般是4个数字。

这里 -p 指定调试由进程 ID 标识的进程 ,

如果 -p改为-pn 这后面输入的进程的映像名词如 ntsd -c q -pn QQ.exe

taskkill和ntsd差不多也可以关进程,如 taskkill /pid 1234 /f

del F:\thy 删除F盘的thy文件夹里的所有文件,但thy这个文件夹不能删除。

rd /s/q F:\thy 删除F盘的thy这个文件夹。

at ID /delete或者 at ID /d 停止名为ID的计划任务。

dir查看某个目录下的文件名和其属性,比如 dir /a/s D:\电影 *avi >F:电影.txt

dir [D:][PATH][NAME][[/A][:attrib]][/o:[sorted][/s][/b][/l][/c[h]

(1)dir /a:attrib 缺省包含所有文件(系统文件.隐含文件)











(3)/s 参数:对当前目录及其子目录中所有文件进行列表

列名:dir /s/a/o:n c:\>PRN


(4)/B 参数:将只显示文件名与扩展名

(5)/L 参数:将全部用小写字母对文件或子目录进行列表


dir /a 列当前目录所有文件(含隐含及系统文件)

dir /ah 列隐含文件(包含子目录(隐含的) dir /a-h

dir /as 列系统文件 dir /a-s

dir /ad 列子目录 dir /a-d

dir /o 按字母顺序

dir /B 只显示文件名与扩展名



shutdown是关机或重启电脑命令,如 shutdow /r /t 0表示无延迟立即开始重启计算机,最后一个数字表示延迟的秒数,范围是0到180。/r表示重启,restart嘛,/t表示设置时间延迟。/s表示直接关机了,start嘛.还可以定时关机,/f表示强制关机。如 at 8:37 shutdown /f /s -t 0    表示8点37强制关机。shutdown /s /M //thy -t 0 表示关闭一个名为 thy 的远程主机。要真正实现远程关机,还得在被关机的电脑上设置如下:





1. 单击“开始→运行”,在对话框中输入“Shutdown -I”,屏幕上将显示“远程关机”对话框。 


3. 单击“开始查找”按钮,会出现本网络中的所有计算机。 

4. 按住Ctrl键,用鼠标选择要关闭的计算机,最后单击“确定”,这时在远程关机对话框中会出现要关闭的计算机。 

5 在选项的下拉框中选择一个合适的关闭理由,然后点击“确定”。 


844 Responses to “学了一晚上的DOS命令感觉很有成就感。”

  • ray ban outlet说道:

    realm sad refuse realm sad refuse realm sad refuse realm sad refuse realm sad refuse realm sad pant burst inlet pant burst inlet pant burst inlet pant burst inlet/r/n lame/r/n nonetheless western probability climb sticky sticky

  • ig说道:

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time
    a comment is added I get several e-mails with the same comment.
    Is there any way you can remove people from that service?

  • ig说道:

    Every weekend i used to pay a visit this site, because i want enjoyment, as this this web page conations genuinely good funny
    information too.

  • Pretty section of content. I just stumbled upon your blog and in accession capital to say that I get in fact loved account your weblog posts.
    Anyway I will be subscribing for your feeds or even I success you access consistently

  • Marc说道:

    When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get four emails with the same comment.
    Is there any way you can remove people from that service?

  • Glen说道:

    I am really impressed with your writing skills as well as with the layout
    on your weblog. Is this a paid theme or did you modify it
    yourself? Anyway keep up the excellent quality writing, it is rare
    to see a great blog like this one nowadays.

  • I would like to thank you for the efforts you have put in writing this blog. I really hope to see the same high-grade blog posts from you in the future as well. In fact, your creative writing abilities has encouraged me to get my own website now ;)|

  • Leora说道:

    Its such as you read my thoughts! You appear to grasp a lot approximately
    this, like you wrote the guide in it or something.
    I think that you could do with a few percent to
    pressure the message house a little bit, but other than that, that is fantastic blog.
    An excellent read. I’ll certainly be back.

  • Hi there! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?

    My blog goes over a lot of the same topics as
    yours and I feel we could greatly benefit from each other.

    If you’re interested feel free to send me an email.
    I look forward to hearing from you! Wonderful blog by the way!

  • First off I would like to say fantastic blog! I had a quick question which I’d like to ask if you do
    not mind. I was curious to know how you center yourself and clear your head before
    writing. I’ve had a tough time clearing my mind in getting my
    thoughts out. I do enjoy writing but it just seems like the first 10 to 15 minutes are lost just trying to figure out how to begin. Any recommendations or tips?

    Many thanks!

  • loss weight说道:

    Hmm is anyone else encountering problems with the images on this blog loading?
    I’m trying to determine if its a problem on my end or if
    it’s the blog. Any suggestions would be greatly appreciated.

  • Egli Diana Pinto说道:

    Hi there to every single one, it’s actually a fastidious for me to
    visit this site, it consists of precious Information.

  • If some one wishes to be updated with most up-to-date technologies then he must
    be pay a quick visit this web page and be up to date every day.

  • My family members always say that I am killing my time here at web, except I know I am getting knowledge every day by reading thes good articles or reviews.

  • Superb blog! Do you have any suggestions for aspiring writers?

    I’m planning to start my own blog soon but I’m a little lost on everything.
    Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices
    out there that I’m completely overwhelmed .. Any suggestions?
    Appreciate it!

  • Hello my loved one! I want to say that this post is awesome,
    great written and include approximately all important infos.
    I would like to see extra posts like this .

    • JamesSef说道:

      Знаете ли вы?
      Возможно, что американцы уже в 1872 году вмешались в канадские выборы.
      Залётная птаха занесена в перечень птиц России спустя более полувека после открытия вида.
      Английский крейсер ценой четырёх попаданий защитил конвой от немецкого рейдера.
      После 50 черепно-мозговых травм регбист завершил карьеру, опасаясь получить синдром деменции.
      Художник-карикатурист известен пародией на мунковский «Крик».


  • Awesome things here. I am very happy to see your
    post. Thank you so much and I am looking ahead to touch you.
    Will you kindly drop me a mail?

  • Cecelia说道:

    It’s a pity you don’t have a donate button! I’d definitely donate to
    this fantastic blog! I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account.
    I look forward to new updates and will share this site with my Facebook group.
    Chat soon!

  • spinning cycle说道:

    Hey just wanted to give you a quick heads up. The
    text in your content seem to be running off the screen in Chrome.
    I’m not sure if this is a formatting issue or something to do with web browser compatibility but I thought I’d post
    to let you know. The style and design look great though!

    Hope you get the problem resolved soon. Many thanks

  • search engines说道:

    Wonderful web site. A lot of useful information here. I’m sending it to a few friends ans additionally sharing in delicious.
    And of course, thank you on your sweat!

  • Alexander说道:

    Howdy! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?

  • I was pretty pleased to find this site. I want to to thank you for ones time for this particularly fantastic read!!
    I definitely really liked every little bit of it and i also have you saved to
    fav to check out new stuff on your site.

  • Write more, thats all I have to say. Literally, it seems as though you relied
    on the video to make your point. You definitely know what youre talking about, why throw away your intelligence on just posting videos to your blog when you
    could be giving us something enlightening to read?

  • Simply wish to say your article is as surprising.
    The clearness for your post is just great and i can suppose you are a professional on this subject.

    Well along with your permission allow me to take hold of your
    feed to keep updated with impending post.
    Thank you a million and please carry on the enjoyable work.

  • selling website说道:

    Hi there, I want to subscribe for this website to obtain most recent
    updates, so where can i do it please help out.

  • online sources说道:

    Appreciation to my father who told me regarding this
    web site, this webpage is genuinely awesome.

  • Gita说道:

    Thanks for your marvelous posting! I truly enjoyed reading it, you
    can be a great author. I will be sure to bookmark
    your blog and may come back down the road.

    I want to encourage you to ultimately continue your great
    posts, have a nice morning!

  • Madelaine说道:

    Hi there! This is my first visit to your blog!
    We are a collection of volunteers and starting a new initiative in a community
    in the same niche. Your blog provided us useful information to work
    on. You have done a wonderful job!

  • Clarita说道:

    Wow that was strange. I just wrote an very long comment but
    after I clicked submit my comment didn’t appear. Grrrr… well
    I’m not writing all that over again. Anyhow, just wanted
    to say fantastic blog!

  • Renato说道:

    Way cool! Some extremely valid points! I appreciate
    you penning this post and the rest of the website is very good.

  • Otto说道:

    Hello are using WordPress for your blog platform? I’m new to the blog world
    but I’m trying to get started and create my own. Do you
    require any html coding expertise to make your own blog?

    Any help would be really appreciated!

  • I am now not sure where you are getting your info, but great topic.
    I needs to spend a while finding out more or understanding more.
    Thanks for excellent info I was in search of this info for
    my mission.

  • seamansite.org说道:

    What’s up it’s me, I am also visiting this site regularly, this
    web site is in fact fastidious and the users are truly sharing fastidious

  • Justin说道:

    I got this site from my buddy who shared with me on the
    topic of this web site and at the moment this time
    I am browsing this website and reading very informative articles or reviews here.

  • Jeanett说道:

    It’s going to be finish of mine day, but before end I am
    reading this enormous paragraph to improve my know-how.

  • Lavern说道:

    Wow, marvelous blog layout! How lengthy have you been running a blog for?
    you make blogging glance easy. The overall look of your website is
    magnificent, let alone the content!

  • Georges Sadala说道:

    First off I would like to say superb blog!
    I had a quick question which I’d like to ask if you do not mind.
    I was interested to know how you center yourself and clear your
    head before writing. I’ve had a difficult time clearing
    my mind in getting my ideas out there. I truly do take pleasure in writing but it just
    seems like the first 10 to 15 minutes are lost just trying to figure out how to begin. Any suggestions or tips?
    Appreciate it!

  • Arnold说道:

    Hi! Someone in my Myspace group shared this site with us so I came to check it out.

    I’m definitely loving the information. I’m bookmarking and will be
    tweeting this to my followers! Outstanding blog and superb design and

  • Beau说道:

    I every time spent my half an hour to read this webpage’s content daily
    along with a cup of coffee.

  • Sherlene说道:

    always i used to read smaller articles or reviews that as well clear their motive,
    and that is also happening with this post which I am reading at this time.

  • Wilford说道:

    Hi there, its pleasant post about media print, we all be aware of media is a wonderful source
    of information.

  • Les说道:

    Great info. Lucky me I recently found your blog by chance (stumbleupon).
    I’ve bookmarked it for later!

  • If some one needs expert view about running a blog after that i suggest him/her
    to pay a visit this webpage, Keep up the fastidious work.

  • Hello! This is my 1st comment here so I just wanted to give a quick shout out and
    say I genuinely enjoy reading your posts. Can you suggest any other blogs/websites/forums that go
    over the same subjects? Appreciate it!

  • Georges Sadala说道:

    Quality posts is the main to invite the people to visit the site,
    that’s what this web page is providing.

  • garbage truck说道:

    That is a really good tip especially to those fresh to the
    blogosphere. Brief but very precise info… Thanks
    for sharing this one. A must read article!

  • Attractive section of content. I just stumbled upon your site
    and in accession capital to assert that I acquire in fact
    enjoyed account your blog posts. Any way I’ll be subscribing to your feeds
    and even I achievement you access consistently fast.

  • Do you have any video of that? I’d want to find out some additional information.

  • Jannette说道:

    Hello there! I know this is kinda off topic however I’d
    figured I’d ask. Would you be interested in trading links
    or maybe guest authoring a blog article or vice-versa?
    My blog covers a lot of the same subjects as yours and I think
    we could greatly benefit from each other. If you’re interested
    feel free to send me an email. I look forward to hearing from
    you! Great blog by the way!

  • Filomena说道:

    I was more than happy to discover this web site.
    I need to to thank you for your time just for this fantastic read!!
    I definitely savored every part of it and I have you saved as a favorite to check out new things on your blog.

  • Agueda说道:

    Please let me know if you’re looking for a author
    for your blog. You have some really great articles and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d really like
    to write some content for your blog in exchange for a link back
    to mine. Please shoot me an email if interested.

  • Angelina说道:

    naturally like your website but you need to check the spelling on several of your posts.

    A number of them are rife with spelling problems and I to find it very bothersome to inform the
    truth then again I’ll certainly come back again.

  • Andy说道:

    I am sure this article has touched all the internet users, its really really nice
    piece of writing on building up new webpage.

  • Thanks for every other informative blog. The
    place else may just I get that kind of info written in such a perfect approach?
    I’ve a venture that I’m simply now working on, and I’ve been on the look out for such information.

  • Hello i am kavin, its my first time to commenting anyplace, when i read this article i thought i could also make comment due to this good
    piece of writing.

  • Yanira说道:

    You made some good points there. I checked on the web
    for more information about the issue and found most individuals will go along with your
    views on this site.

  • magnificent put up, very informative. I ponder why the opposite specialists
    of this sector don’t understand this. You must proceed
    your writing. I’m confident, you have a huge readers’ base already!

  • Reina说道:

    Do you have a spam issue on this website; I also am a blogger, and I was
    curious about your situation; many of us have created some nice practices and we are looking to trade methods with others, be sure
    to shoot me an e-mail if interested.

  • Kina说道:

    A person necessarily lend a hand to make critically posts I might state.
    This is the first time I frequented your website page and
    so far? I amazed with the research you made to make this actual post amazing.
    Wonderful job!

  • gamepointsc.com说道:

    Thanks for finally writing about > 学了一晚上的DOS命令感觉很有成就感。
    < Liked it!

  • An interesting discussion is worth comment. I do think that you should publish more about this issue,
    it may not be a taboo matter but typically folks don’t talk about these subjects.
    To the next! Kind regards!!

  • Great goods from you, man. I have understand your stuff previous to and
    you’re just too magnificent. I really like what you’ve acquired
    here, really like what you’re stating and the way in which
    you say it. You make it entertaining and you still care for to keep it wise.
    I cant wait to read much more from you. This is really a wonderful

  • Rodney说道:

    You made some really good points there. I looked on the net
    for additional information about the issue and found most people will go along with your views on this web site.

  • hey说道:

    Wow, that’s what I was looking for, what a data! present here at this website, thanks
    admin of this site.

  • This is really interesting, You’re a very skilled blogger.
    I have joined your feed and look forward
    to seeking more of your magnificent post. Also, I have shared your site in my social networks!

  • Luella说道:

    Greetings from Los angeles! I’m bored at work so I decided to browse your blog on my iphone during lunch break.
    I enjoy the knowledge you provide here and can’t wait to take a look when I get home.
    I’m surprised at how fast your blog loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyways, great site!

  • budgeting money说道:

    It’s hard to come by educated people for this subject, but you sound like you know what you’re talking
    about! Thanks