哎……这样我就更无语了,知道我为什么来这个论坛么,因为我看了
批处理精华帖,一篇一篇的看了cn-dos整理的批处理教材(很多现在还不懂)
在那之后,我才开始来论坛。
对于dos下建立空文件,应该多搜搜帖子
方法多的是
我最近有些狂妄,不过我猜论坛的前辈们应该也挺郁闷的,
刚来cn-dos 应该多看看置顶的那些内容!你们把前辈们整理的教材当什么了?
来到论坛有点问题就发帖。
尤其是这种贴,我特想给你减分,我可以减你8分,但是我没有!人,孰能无过。更有,不知者无罪。(说得我自己想吐……郁闷)
以后多看看批处理精华帖!多看看置顶的教材!
像这个帖子,楼上的和楼主都应该仔细看看!:
新手整理:
http://www.cn-dos.net/forum/viewthread.php?tid=34049&fpage=1
在整理中可以找到下面的帖子:
批处理生成空文件:
http://www.cn-dos.net/forum/viewthread.php?tid=22336
以下生成文件的内容摘自dos技巧一百例:
http://www.cn-dos.net/forum/viewthread.php?tid=23999&fpage=0&highlight=&page=1
15、DOS下直接编辑生成文件
在没有任何编辑软件(如EDLIN、EDIT等)的情况下,可临时用以下六种方法从键盘编辑生成文件,当文件内容输入完毕后,按F6键或按Ctrl+Z键存盘退出∶
方法一∶COPY CON filename
方法二∶TYPE CON>filename
方法三∶MORE>filename
方法四∶SORT>filename
方法五∶FIND"XXX"/V/N>filename
方法六∶SORT|FIND"XXX"/V/N>filename
方法四、五、六均有特殊用处,读者不妨一试。
16、零字节文件的生成
方法∶TYPE NUL>filename
上述方法常用于处理需保密的磁盘文件,起到删除文件内容的作用,内容被删除后一般不可恢复。
我这里的网盘搜集了一些比较好的教程。请进
http://523066680.ys168.com
进教程区
Last edited by 523066680 on 2008-7-29 at 09:55 AM ]
Hey... This makes me even more speechless. Do you know why I came to this forum? Because I read the essence posts of batch processing, and read through the batch processing textbooks sorted by cn-dos one by one (many of which I still don't understand at that time). After that, I started to come to the forum.
For creating empty files under DOS, you should search more posts. There are many methods.
I've been a bit overconfident recently, but I guess the seniors in the forum should also be quite depressed. When you first come to cn-dos, you should read more of the pinned content! What do you take the textbooks sorted by seniors as?
Come to the forum and post questions when you have problems. Especially this kind of post, I really want to deduct points for you. I could deduct you 8 points, but I didn't! People, who can be without faults. Moreover, ignorance is no crime. (Saying this makes me want to vomit... depressed)
Read more of the essence posts of batch processing in the future! Read more of the pinned textbooks!
Like this post, both the person upstairs and the poster should read it carefully!
Newcomer's arrangement:
http://www.cn-dos.net/forum/viewthread.php?tid=34049&fpage=1
In the arrangement, you can find the following post:
Batch processing to generate empty files:
http://www.cn-dos.net/forum/viewthread.php?tid=22336
The following content for generating files is excerpted from 100 DOS skills:
http://www.cn-dos.net/forum/viewthread.php?tid=23999&fpage=0&highlight=&page=1
15. Directly edit and generate files under DOS
In the case of no any editing software (such as EDLIN, EDIT, etc.), you can temporarily use the following six methods to edit and generate files from the keyboard. When the file content is input完毕, press the F6 key or press Ctrl+Z key to save and exit:
Method 1: COPY CON filename
Method 2: TYPE CON>filename
Method 3: MORE>filename
Method 4: SORT>filename
Method 5: FIND "XXX" /V/N>filename
Method 6: SORT|FIND "XXX" /V/N>filename
Methods 4, 5, and 6 all have special uses. Readers might as well have a try.
16. Generation of zero-byte files
Method: TYPE NUL>filename
The above method is often used to handle disk files that need to be kept secret, playing the role of deleting the file content. After the content is deleted, it is generally not recoverable.
I have collected some relatively good tutorials in my network disk here. Please enter
http://523066680.ys168.com
Enter the tutorial area
Last edited by 523066680 on 2008-7-29 at 09:55 AM ]