删除dir 命令的格式(The format of the dir command)

format命令  时间:2021-03-24  阅读:()

dir命令的格式The format of the dir commandFirst, the format of the DIR command:

D i r [D: ] [PATH] [NAME] [ [/A] [ :attrib] ] [/o: [sorted] [/s] [/l] [/c[h]

(1) dir/a:attrib (the default document contains all the systemfiles hidden file. )

Attrib[ : ] [h/-h] only display hidden files or nonhidden files.[r/-r] displays only read-only or non read-only files[s/-s] display system files or file system

[a/-a] to display only the filing or non filing

/o[ (2) : ]sorted: default completely alphabetically,subdirectories are displayed in the file before

/o[n/-n] : in alphabetical order or to display the file name /reverse order

[e/-e] : according to the extended display reverse alphabeticalorder / name

[d/-d] display: according to time sequence / reverse

[s/-s] : according to the size from big to small or reverse /display

[g/-g] : directory according to prior file sub directories orfiles before the child

(3) /s parameters: list of all files in the current directoryand its subdirectories

Name: dir /s/a/o:n c:\\\\\\\\>PRN

All subdirectories and files on the C according to thesubordinate relations, and according to the subdirectories andfiles in alphabetical order printout

(4) : /B parameters will only display the file name and extension

(5) /L parameters: all lowercase letters are on the list offiles or subdirectories

Training:

Dir/a listed the current directory of all documents (includinghidden and system files)

The dir /ah column hidden files (including subdirectories(implicit) dir /a-h

Dir /as /a-s dir file system

Dir /ad dir /a-d directory.

Dir /o in alphabetical order

Dir /B displays only the file name and extension

Two, attr ib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [d: [name] [/s] ]The default attrib name display file (file attribute)Attrib io. sys (or directory)

The specified SHR c:\\\\\\\\ io. sys system (s) implicit (H)read-only (R) file

Attrib candisplay*. sys files with the extension sys attributeThe [+r|-r] parameter set file properties or remove theread-only attribute

[+a|-a] set file properties or remove file attributes[+h|-h] will set up or remove hidden file attribute attribute(especially subdirectories also play a role)

The /s parameter all files in the current directory and thecurrent sub role

Can be used to find the file

Example:

Attrib news86 document properties news86

Attrib+rreport.txt attrib-s-h record.txt is set toread-only

Attrib +a a:*.*

Attrib -a a:*.bak

Xcopy a: b: /a will sign a \\\\\\\ for all on the "\\\\\\\archive" attribute files to the B disk

Xcopy a: b: /m will drive all the files to the B disk andremovethe file attribute

Three, CD: CD. . . Return two directory \\\\\\\ ". \\\\\\\"represents the current directory \\\\\\\ ". \\\\\\\" on behalfof the parent directory

CD. . \\\\\\\\. . Returns to the parent directory of the parentdirectory (the ancestor directory)

CD A:\\\\\\\\ will drive the current directory to the rootdirectory

CD A:\\\\\\\\xx will drive the current directory to directory

XX

CD. . \\\\\\\\98 to return to the parent directory, then enterthe 98 parent directory directory

CD returns to the parent directory.

Cd\\\\\\\\98 into the 98 sub root directory directory

Four, copy [/y] [/-y] [/v] [/B]

Copy /y does not suggest that all documents to be covered/-y tips for all files (yes or no)

/v copy to check

/B according to a binary display

Copy w1.wps con/b WPS files can be displayed on the screen,without having to enter the WPS state

Copy. .\\\\\\\\98 will be the parent directory under the 98 subdirectory of all files all copy to the current directory97 copy.\\\\\\\\97 the current directory directory of alldocuments copied to the current directory

Copy. C:\\\\\\\\ in the current directory of all files to theroot directory C means file *. *.

Copy nul a.abc a.abc file will be empty (file length to 0)The name of the copy +con command or additional content to atext file

Copy con file to create a text file (save and exit F6)Copy con PRN printer detection switch

Five, the xcopy command

Xcopy [source] [d:date] [/p] [/s] [/e] [/v] [/y]

Xcopy [d:date] xcopy a:b:\\\\\\\\ /d:08/18/98/s/v 98.08. 18years after the file copy

Xcopy [/p] to create a sub directory

Xcopy [/s] several subdirectories copy. Note: if the targetdisk does not exist on this sub directory, and at the end ofthe match and the target disk does not end with "\\\\\\\\\\\\\\\\\\\\\\", will prompt:

Does destination specify a file name or directory name on thetarget

[f=file, d=directory]?

The target disk file [press] or create a sub directory [pressd] D button should choose?

Xcopy[/v] with more experience

* (1) : xcopy copy system and hidden files should be modifiedand then copy attribute

Xcopy [/y] covering is that without /y tips

If you omit the target disk or directory name is copied to thecurrent directory

Six, del /p

The addition of /p can indicate whether before deletingSuch as del with sub directory name, the sub directory of allfiles (except the read-only file system. Hidden. The deletionof all) ,

/p can be identified.

Seven, undelete [name] /au

It will not meet the conditions of all file recovery (can berecovered) , and the first letter of the \\\\\\\ "#\\\\\\\", ifThere, according to \\\\\\\ "#%&01 2-9 a-z\\\\\\\ sequence.Such as: undelete*.dbf/au extension\\\\\\\file "dbf\\\\\\\"to full recovery, and the \\\\\\\ "#\\\\\\\" at the beginning,as the file

A /list can only be recovered files list, without recovery删除/负载将删除装入内存

卸出内存将删除/卸载s [驱动]对指定驱动器进行监测管理

七、删除/ SC

将删除驻留内存 并创建一个隐含的哨兵子目录对C盘删除的文件进行管理删除/ DS恢复

相应恢复命令可以用删除即可完整恢复出文件名非常完整最常用删除* *。

删除目录/ Y驱动 [路径]

删除目录树删除子目录及文件尽管有些文件是系统文件或隐含文件它可以带有通配符带有通配符时它将删除符合条件的文件及子目录

如 删除*。 DBF/金将扩展名为\\\\\\\ “DBF\\\\\\\”的文件全恢复并以\\\\\\\” # \\\\\\\”开头作为文件名。

/列表仅列出可恢复的文件而不作恢复操作。

删除/负载将删除装入内存。

卸出内存将删除/卸载。s [驱动]对指定的驱动器进行监视管理。

删除/ SC将删除驻留内存并创建一个隐含的哨兵子目录对C盘删除的文件进行管理。相应恢复命令可以用删除/ DS即可完整恢复出文件名很完善。

最常用的是删除* *。

八、删除目录/ Y驱动 [路径]

删除目录树删除子目录及文件尽管有些文件是系统或隐含的。它可以带有通配符这时它将删除符合条件的文件或子目录。如存在L1 L2 L3文件子目录文件 L4子目录deltree L*。 *将删除以上所有的文件和子目录但在删除前加以确认若不删除可以输入\\\\\\\ “N \\\\\\\” 。

参数是在删除时不加以确认就进行操作的/ Y。

它删除的文件可以用删除恢复 但不能恢复子目录及其下的文件可以用特殊工具。如诺顿8等。

若提前使用了删除/ s 则可以在哨兵子目录下找到完整的文件但名已经改变了。

九、 D O S =高[低] [ | UM B | n o umb ]

DOS =高 UMB则DOS将自身装入高端内存高并能管理上位内存

UM B。 n o umb则不管理上位内存

在写入DOS =高及UMB前应装入装置= hi mem. s ys

为了将程序或驱动程序装入上位内存必须使用D OS = UMB可省出大部分常规内存。

可以在conf i g。 sys的任何位置写上DOS =高 UMB

Bluehost美国虚拟主机2.95美元/月,十八周年庆年付赠送顶级域名和SSL证书

Bluehost怎么样,Bluehost好不好,Bluehost成立十八周年全场虚拟主机优惠促销活动开始,购买12个月赠送主流域名和SSL证书,Bluehost是老牌虚拟主机商家了,有需要虚拟主机的朋友赶紧入手吧,活动时间:美国MST时间7月6日中午12:00到8月13日晚上11:59。Bluehost成立于2003年,主营WordPress托管、虚拟主机、VPS主机、专用服务器业务。Blueho...

2021HawkHost老鹰主机黑色星期五虚拟主机低至3.5折 永久4.5折

老鹰主机HawkHost是个人比较喜欢的海外主机商,如果没有记错的话,大约2012年左右的时候算是比较早提供支付宝付款的主机商。当然这个主机商成立时间更早一些的,由于早期提供支付宝付款后,所以受众用户比较青睐,要知道我们早期购买海外主机是比较麻烦的,信用卡和PAYPAL还没有普及,大家可能只有银联和支付宝,很多人选择海外主机还需要代购。虽然如今很多人建站少了,而且大部分人都用云服务器。但是老鹰主机...

美国云服务器 1核 1G 100M 10G防御 39元/月 物语云计算

物语云计算(MonogatariCloud)是一家成立于2016年的老牌国人商家,主营国内游戏高防独服业务,拥有多家机房资源,产品质量过硬,颇有一定口碑。本次带来的是美国圣何塞 Equinix 机房的高性能I9-10980XE大带宽VPS,去程CN2GIA回程AS9929,美国原生IP,支持解锁奈飞等应用,支持免费安装Windows系统。值得注意的是,物语云采用的虚拟化技术为Hyper-V,资源全...

format命令为你推荐
outlookexpressOUTLOOK EXPRESS作用是什么?我想删除它会不会影响系统asp.net网页制作怎么用ASP.NET 做一个网页注册。简单的就行开放平台微信的开放平台是干什么用的团购程序团购的流程有哪几种模式oscommerceosc.s是个什么文档?要怎样打开?有谁知道?谢谢!!drupal主题4)Drupal建立的网站是否可以自适配屏幕大小,在PC、iPad、iPhone等各机器的浏览器中是否可以正常显示长沙电话号码升位湖南的电话号码什么时候从6位数升到7位数的?joomla教程如何获得 Joomla,2.5中 itemid 的值超级用户隐藏超级用户盛大通行证登录盛大通行证?
网站空间域名 万网域名空间 80vps sugarsync 国外私服 softbank官网 xen 免费静态空间 刀片服务器的优势 网站木马检测工具 1g内存 web服务器安全 四川电信商城 空间登入 美国盐湖城 中国linux 万网空间 摩尔庄园注册 宿迁服务器 apnic 更多