Originally posted by namejm at 2007-1-20 10:21 AM:
The enhancement of the dir function facilitates the collection of valuable posts. However, I still want to make it more convenient to use. I wonder if it can be achieved: After adding the /a parameter to the current dir command, the same record will be displayed in two lines with line breaks. If we want to compile a script to extract valuable posts based on the title, the number of replies, and also refer to the click-through rate, because there are a large number of parity line judgments, the efficiency of the code will be less than ideal. If the same record can be displayed on the same line, it will be more convenient. But in this case, there may be a need to add a horizontal scroll bar (is this what it's called? I don't understand the terms of the web framework, sweat=_=!) in the web page to display the complete content, which may bring some inconvenience to web browsing. How to choose between these?
I just added a /W switch to DIR. This switch is very similar to the existing /V switch, but it will not display information such as moderators and post authors, so there should be no line breaks. For example, set the %DIRCMD% environment variable to /A/P/W and then use the DIR command, or directly add the /W switch to DIR on the command line (but note that if /W and /V are specified at the same time, the former will be ignored, so if there is already a /V switch in %DIRCMD%, you can use DIR /-V/W on the command line to shield /V and enable /W).
Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)


DigestI
StickyI