早教吧 育儿知识 作业答案 考试题库 百科 知识分享

下列问题的DOS命令Displaythesyntaxandswitchesforthecommanddir.ListalldirectoriesandfilesinC:\,pausingiftheinformationscrollsoffthedisplay.ListalldirectoriesandfilesinC:\withathree-characterfilenamebeginning

题目详情
下列问题的DOS命令Display the syntax and switches for the command dir. List all directories and files in C:\, pausing if the information scrolls off the display. List all directories and files in C:\ with a three-character file name beginning with W. List all files in C:\ whose extension contains X and sort the results by size. List all directories and files in C:\, redirecting the output to a file named "ssd2.txt" in directory C:\. List all directories and files in C:\, appending the output to ssd2.txt. In directory C:\, create a subdirectory called "SSD2". Copy ssd2.txt to directory SSD2. Rename ssd2.txt in directory SSD2 as "ssd2.bak". Delete ssd2.txt. Remove directory SSD2.
▼优质解答
答案和解析
dir/? dir /a /p c:\ dir /a c:\w??.* dir /os c:\*.x?? dir /os c:\*.?x? dir /os c:\??x dir /a c:\ >c:\ssd2.txt dir /a c:\ >>c:\ssd2.txt md c:\ssd2 copy c:\ssd2.txt c:\ssd2 ren c:\ssd2.txt ssd2.bak del c:\ssd2.txt rd c:\ssd2