China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-23 06:48
中国DOS联盟论坛 » 意见反馈 & 网友交流 » [Recommendation] Instructions for Using the DOS Command Prompt Interface in the Forum and Detailed Explanation of Commands DigestI StickyI View 121,904 Replies 156
Floor 61 Posted 2007-01-29 04:15 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
List all new posts in drive D using `dir d:\ /s/an`

It is found that there is always a pause after each version is listed

Using `dir d:\ /s/an/-p` has no effect

At the same time, using `dir /b/s` also has similar situations

Moreover, the complete path is not listed by `dir/b/s`

------------------------------------

The form of ~+1/~-1 should be considered as a subscription alias

Just found that when using

If the old subscription is updated

Its alias does not change with the change of the subscription position

Whether this is good or bad is still difficult to define

From this, it is guessed that before the output of net file

The output display of the subscribed topics may be sorted by update time
Floor 62 Posted 2007-01-29 04:58 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The problem of dir d:\ /s/an/-p and dir /b/s is actually the same, and it has been solved now.

dir /b/s has also been changed to display the full path.

The order problem of the subscribed ~+1/~-1 needs to be first checked and confirmed.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 63 Posted 2007-01-29 06:52 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Well, the existing problems are almost solved. Just waiting for Roy's 950 code page to be completed to release version 4.0.
Floor 64 Posted 2007-01-29 18:21 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The subscription ~+1/~-1 order has been consistent with the NET FILE list order (previously calculated by the creation time, now changed to the last modification time, consistent with the NET FILE list).

Regarding the management - related commands, the DEL command has now been added. Since this command can also be used to delete the short message files on the G drive and H drive, and no management rights are required at this time (other drives require it), so this command is added.

In addition, the PUSHD and POPD commands have also been added, which can quickly save and restore the current directory like CMD. It is going to be prepared as the final version before version 4.0 - version 3.9.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 65 Posted 2007-01-30 00:50 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Before releasing the official version, let's put forward another suggestion.

Add all the offset parameters from dir/find to type/more.

Of course, here the offset refers to the offset of the post number in the thread. For example:

type c:\8\26803 0,3 shows 3 posts starting from the last post

more c:\8\26803 -2,2 shows 2 posts starting from the second - last post

The default values can be different. For example:

type c:\8\26803 0 shows all posts starting from the last post

more c:\8\26803 -2 shows 1 post starting from the second - last post
Floor 66 Posted 2007-01-30 01:05 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by qzwqzw at 2007-1-29 11:50 AM:
Let's put forward another suggestion before the formal version is released

Add all the offset parameters from dir/find to type/more

Of course, the offset here refers to the offset of the post number in the thread, for example

type c:\8\26803 0,3 shows 3 posts starting from the first post from the end...


The first post from the end should be -1, and 0 refers to the topic post.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 67 Posted 2007-01-30 01:58 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
sorry!

Typing error, just convey the meaning, no need to change

-------------------------------------------------

Today when logging in to the forum GUI

Repeated server internal errors and errors where the actual user ID cannot be changed

I don't know what the problem is?

Can log in using the command line

But also returned several incorrect server response prompts
Floor 68 Posted 2007-01-30 02:33 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by qzwqzw at 2007-1-29 12:58 PM:
sorry!

Typing error, just get the meaning across, no need to change

...


The usage of ] has been added to TYPE and MORE! Specifically as follows:

When "quantity" is not specified (such as TYPE C:\1\2 3), the effect of TYPE/MORE will be the same as before to maintain compatibility and be consistent with the EDIT and FIND commands;

When "quantity" is negative, it means displaying from the specified thread number to the (-quantity)th thread from the end (-1 means the last one). So TYPE C:\1\2 -3,-1 means displaying from the third thread from the end to the last thread (end of file), TYPE C:\1\2 4,-2 means displaying from the 4th thread to the second thread from the end, etc.;

Otherwise, it will display the specified number of threads starting from the specified thread number (if it is 0, of course nothing will be displayed).

Updated to version 3.9 official release.

Originally posted by qzwqzw at 2007-1-29 12:58 PM:
Logged in to the forum GUI today

Repeated internal server errors and errors where the actual user ID cannot be changed...


It is estimated that there were some problems with the server itself today, causing sometimes resource reading failures (which naturally affects both the GUI and the command line interface, so the prompt appears). I actually don't know the specific situation, and it may be resolved after a while.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 69 Posted 2007-02-04 00:02 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
In order to demonstrate the current development situation of Command Prompt version 4.0 and help improve it further, its first public beta version is now released. The new features are as follows:

1: The completely rewritten language interface makes multi-language support easier, and the 950 Traditional Chinese code page is added (directly use CHCP 950, or add?cp=950 in the URL; the content is provided by Roy);
2: Add command-line switches for the EDIT command, including /D (disable Discuz! code, enabled by default), /I (ignore points and time limits), /R (reply to the post in the file, equivalent to the "quote reply" function), /S (do not use personal signature, use by default), /T (append edit date and time), /U (disable URL automatic recognition, enabled by default);
3: Adjust the usage of NET SEND. "NET SEND [TO] username" will directly send to the specified user, TO can be optional; "NET SEND FOR file name [post number]" will send a text message to the file/post author, and "NET SEND RE file name [post number]" will quote the file content to reply, and at this time it is really consistent with the short message reply function of the GUI interface;
4: The TYPE command can display the personal signature.
And some other minor modifications.

Welcome to test.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 70 Posted 2007-02-04 20:58 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Now, the function of freely creating files on drive A is officially added. For example, EDIT A:\ABC.TXT will create the ABC.TXT file on drive A (if it already exists, the original file will be modified). You can use the TYPE and FIND commands to display and search the contents, and also use the DEL command to delete files. File names follow the DOS standard 8.3 format. Additionally, the REN command is added to support renaming files on drive A.

Note: Since the new version uses a new format to store files on drive A to support the free creation of files, versions prior to 3.9 will not be able to read these files (the original file contents are all retained). Now updated to version 4.0 RC2, the address will be the same as before:

http://www.cn-dos.net/forum/cmdprmt.php
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 71 Posted 2007-02-05 16:48 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Released the third public beta version, and the following main updates are made:

1: Officially support the free script function mentioned by willsort and qzwqzw, can directly run batch files (files with the .BAT extension) under the command line, and the extension can be omitted when calling, consistent with DOS/CMD;
2: Support replaceable parameters of batch files, such as %0, %1, %2, etc., and add the SHIFT command to change their positions;
3: The TYPE/MORE command can display and download attachments in the post (if any);
4: Today's posts can be displayed when listing the directory view.

And some other minor modifications.

In addition, there is a point to note about the % symbol, that is, if it is run in a batch file, it will be automatically extracted and expanded, so if you want to use the % symbol in a batch file, you need to use two % signs, such as "echo Completed 95%%", "font 20%%", etc. This processing method is consistent with under DOS/CMD (so forms like for %%i in ... are common in batch files).

Updated to version 4.0 RC3, welcome to test and report issues. If there are no issues, it will launch the official version soon after no issues.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 72 Posted 2007-02-05 21:20 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
A few days have passed. Three test versions have been released. And the functions are indeed attractive. Now I'm very busy. I'll post the test result after 12 noon.
Floor 73 Posted 2007-02-06 02:54 ·  中国 山西 运城 联通
初级用户
Credits 21
Posts 6
Joined 2007-02-05 07:36
19-year member
UID 78675
Gender Male
Status Offline
A lot of functions have been added.

There is not enough time for testing.

Only list the known issues.

1. The Discuz! code in the user's signature should generally not be disabled. There are such issues in posts like 26464#10.

2. There are differences in the response of topic browsing due to points restrictions. type 26853 responds normally, the server response for type 27221 is incorrect, and type 27221 0,9 responds normally.

3. %0, %1, %2, etc. in the script are lost after executing commands like type.

4. When there is an infinite loop in the script, it cannot be terminated by Ctrl+C, and BREAK ON is enabled.

Suggestions for addition:

1. Switch to display the signature when type/more

2. Display the images in the attachments when type/more

3. Support goto :eof in the script to jump to the end
qzwqzw id for test
Floor 74 Posted 2007-02-06 04:36 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by qzwqzwtest at 2007-2-5 01:54 PM:
Many functions have been added

Test time is not enough

Only known issues are listed

1. The Discuz! code in the user's personalized signature should usually not be disabled. There are such issues in posts like 26464#10

2. There is a difference in the response of topic browsing due to points limits. Type 26853 responds normally, type 27221 has an incorrect server response. Type 27221 0,9 responds normally

3. %0, %1, %2 in the script are lost after executing commands like type

4. When a dead loop occurs in the script, it cannot be terminated by Ctrl+C. BREAK ON is enabled

It is suggested to add

1. Switch for whether to display the personalized signature in type/more

2. Display the stickers in the attachment when type/more

3. Support goto :eof in the script to jump to the end


1: The Discuz! code in the personal signature has been changed to usually be enabled, unless prohibited in the post.

2: Regarding the issue that the 9th reply of 27221 has an incorrect response. After research, it was found that it was caused by the special character • in the personalized signature of Wunahe. Now all • characters have been automatically replaced with · characters, so this should no longer be a problem.

3: The issue that %0, %1, %2 are lost in the script after executing commands like type has been fixed.

4: Regarding the dead loop, there may be two situations. One situation is that there is any external command like dir, type/more, or pause command in the dead loop part. Then the batch program will pause for about one second or pause execution when executing this command. At this time, pressing the Ctrl+C key should be able to terminate (I just tried it under IE/Firefox/Opera); the other situation is that the dead loop part only has internal commands, which is more troublesome because the code is all handed over to the browser for processing, and there is no pause in the middle (no need to pass through the server). So if it executes continuously without pause, it will cause the browser to stop responding, and then the key press will have no effect. So the best method is to avoid the dead loop part with only internal commands.

5: The usage of goto :eof has been added to jump to the end.

The switch for the type/more command will be added below.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 75 Posted 2007-02-06 06:43 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Editing the original post 27221#13 using qzwqzwtest prompts "Access Denied"
Deleting the new reply post 27221#16 with Del also prompts "Access Denied"
‹ Prev 1 3 4 5 6 7 11 Next ›
Forum Jump: