> Nice find: CMD.EXE for Win9x, command extensions anyone?
FloKo84
post Jun 13 2007, 04:22 PM
Post #1


Advanced Member
***

Group: Members
Posts: 38
Joined: 19-May 07
Member No.: 7,279


Germany


Hi y'all,

just passing another great find along: Win95Cmd - an official Win9x-compatible version of CMD.EXE from Microsoft, even if somewhat beta.
Ive heared it supports command extensions with a few exceptions, but in my tests i havent found anything missing.
Limitations: Scrolling didnt work for me, as well as fimename completion, and it can only safely exited with typing exit, not closing window. Of course it doesnt match the processing speed of command.com.
The first 2 could actually be registry settings, i will look into this.
Sadly, its not HX-DOS compatible, so Windows GUI is required.

If you have problems with pipes: It references %COMSPEC% to walk through pipes (IMG:http://www.boot-land.net/forums/style_emoticons/default/confused1.gif) , so it should be set to Win95Cmd at runtime (Win95Cmd /K SET COMSPEC=..). (Another unique MS workaround (IMG:http://www.boot-land.net/forums/style_emoticons/default/laugh.gif) )

Download with different versions: http://cygutils.fruitbat.org/consize/

Edit: Reg-file to integrate it
CODE
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
"AutoRun"="SET COMSPEC=C:\\WINDOWS\\Win95Cmd.exe"

[HKEY_LOCAL_MACHINE\Software\CLASSES\.cmd]
@="cmdfile"

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile]
@="Windows NT Command Script"
"EditFlags"=hex:d0,04,00,00

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell]
@=""

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\open]
@=""
"EditFlags"=hex:00,00,00,00

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\open\command]
@="C:\\WINDOWS\\Win95Cmd.exe /C \"%1\" %*"

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\print]
@=""

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\print\command]
@="C:\\WINDOWS\\NOTEPAD.EXE /p %1"

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\edit]
@="&Edit"

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shell\edit\command]
@="C:\\WINDOWS\\NOTEPAD.EXE %1"

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shellex]

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shellex\PropertySheetHandlers]

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\shellex\PropertySheetHandlers\{86F19A00-42A0-1069-A2E9-08002B30309D}]
@=""

[HKEY_LOCAL_MACHINE\Software\CLASSES\cmdfile\DefaultIcon]
@="C:\\WINDOWS\\SYSTEM\\shell32.dll,-153"

Flo

FYI: Couldnt get the original NT CMD.EXE to work even with the KernelEx project. (I know i was foolish to even try (IMG:http://www.boot-land.net/forums/style_emoticons/default/wink.gif) )
Go to the top of the page
 
+Quote Post

Posts in this topic
- FloKo84   Nice find: CMD.EXE for Win9x   Jun 13 2007, 04:22 PM
- - jaclaz   Good! FYI: http://www.infionline.net/~wtnewto...   Jun 13 2007, 05:16 PM
|- - FloKo84   QUOTE (jaclaz @ Jun 13 2007, 07:16 PM) Go...   Jun 13 2007, 07:29 PM
- - wendy   win95cmd has been doing the traps for some time no...   Jun 14 2007, 09:47 AM
|- - FloKo84   QUOTE (wendy @ Jun 14 2007, 11:47 AM) win...   Jun 14 2007, 09:14 PM
|- - wendy   QUOTE (FloKo84 @ Jun 15 2007, 07:14 AM) H...   Jun 15 2007, 06:43 AM
|- - FloKo84   QUOTE (wendy @ Jun 15 2007, 08:43 AM) 32-...   Jun 16 2007, 03:46 AM
|- - wendy   QUOTE (FloKo84 @ Jun 16 2007, 01:46 PM) A...   Jun 17 2007, 09:55 AM
- - jaclaz   Another maybe interesting link: http://www.serve.c...   Jun 15 2007, 09:37 AM


Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

RSS Lo-Fi Version Time is now: 19th January 2008 - 03:30 AM

MKPortal ©2003-2006 mkportal.it