Darkbatcher wrote:"CD X:", I did not even know about that. That's what's wonderfull with cmd, every new post teach me a brand new syntax
May I suggest you try "cd /?"
cd /? wrote:Type CD drive: to display the current directory in the specified drive.
Type CD without parameters to display the current drive and directory.
Use the /D switch to change current drive in addition to changing current directory for a drive.
With all due respect, but if you are to lay any claim to "cmd compatibility" you should first learn what 'cmd' itself does - and this is a case of an old, common, well documented behavior.
Darkbatcher wrote:I not used wide characters because it is a mess on windows, but i can be fixed... to be curious, which unicode page are you using ? utf-8 or utf-16 ?
Sorry, don't know what you mean by "Unicode page". Windows itself uses UTF16 internally. What I showed was copy/pasted from a cmd prompt set to use Lucida Console (or another Unicode/TT - not raster) font.
Darkbatcher wrote:What I wanted to say, is, well there's obviously behaviours that must be implemented (common behaviors), but there are also some others may not be implemented, for instance, strange behaviours that are used in hacks over cmd.
What you consider "strange" might be what others consider "common" - which is why it's important to define and delimit what Dos9 does (or doesn't). For an example, you called the '^!' parsing under enableDelayedExpansion "stupid" in an earlier post - and I won't argue that point
However, that's been a fact of life with 'cmd' for a long time now, and there is code in many places specifically dealing with that anomaly. If Dos9 does it differently, all that existing code will break under Dos9 - and it's not just standalone batch files, but utility functions and macros as well.
I am not saying that Dos9 should follow every little idiosyncrasy of 'cmd' - that's your choice entirely, depending on your goals and target audience. But I am saying that it would add to Dos9's credibility if you listed a breakdown of missing/different features vs. just claiming it's "mostly compatible".
Liviu