佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 781|回复: 3

command prompt_batch file 谁会作,救命!!!

[复制链接]
发表于 20-4-2008 03:26 AM | 显示全部楼层 |阅读模式
大侠们,帮帮我。。。。。。。。。


create a batch file named dos01.bat that does the following:
(IMPORTANT:You must create the batch file in C:\Windows directory and include some basic comments/remarks in your batch file.)
1.clear the display screen
2.create a new directory called Ali and its subdirectories as illustrated in diagram
  below:

                             (C:\Windows\Ali)
                                     .      .      
                                   .          .
                                 .              .
                                .                 .      
                         (Bobby)       (Corene)
                               .                  .      .
                               .                 .        .
                               .                .          .
                               .               .            .  
                         (Felicia)   (Drexel)   (Ellis)  

3.copy all the files in windows directory that have a 'txt' extension into the Bobby subdirectory.
4.copy all files that have a three (3) character filename into the Ellis subdirectory.
5.copy All the contents of the Bobby subdirectory into the Drexel subdirectory.
6.once you have completed all the above tasks.change the current directory to
  C:Windows and alter the prompt sign to '$'.
回复

使用道具 举报


ADVERTISEMENT

发表于 20-4-2008 08:31 AM | 显示全部楼层

回复 1# emms 的帖子

1) CLS
2) MD <FOLDER NAME>
3) COPY C:\WINDOWS\*.TXT C:\BODDY
4) COPY ???.* ELLIS
5) XCOPY C:\BODDY C:\DREXEL
其实GOOGLE都可以找到。
回复

使用道具 举报

发表于 20-4-2008 08:47 AM | 显示全部楼层
功课要自己作。

要问也要自己先尝试。
回复

使用道具 举报

 楼主| 发表于 21-4-2008 02:06 AM | 显示全部楼层
很感激,谢谢!



我有尝试过不知道是不是学/电脑有问题,一直不能,问老师他又不管我们的:@ 他又说电脑有些东西不够,我按了又按一直不行~ 我是真的不行才。。。。


好吧!如果不能问的话,下次我不知道要怎样了。。。。。HAIZ~~~~~~~~

[ 本帖最后由 emms 于 21-4-2008 02:08 AM 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 11-6-2024 05:17 AM , Processed in 0.052582 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表