Author Topic: Strange string in command.com  (Read 1926 times)

Jack2000

  • Guest
Strange string in command.com
« on: 6 October 2005, 13:41 »
wow !:eek::eek::eek:
illhostit.com - Command.com.jpg




this is :
\edit.com command.com

just take a look ....

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
Re: Strange string in command.com
« Reply #1 on: 6 October 2005, 14:54 »
On Windows 98, open an HTML file, type this:

"BSOD"
And open the HTML file :)

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
Re: Strange string in command.com
« Reply #2 on: 6 October 2005, 16:19 »
Get a hexeditor you fucking n00b.

Jack2000

  • Guest
Re: Strange string in command.com
« Reply #3 on: 6 October 2005, 16:56 »
You dont need a hex editor to see just that :)


/dev/con

yeah and then they say they do not steal

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
Re: Strange string in command.com
« Reply #4 on: 6 October 2005, 20:33 »
Its a binary file, you should use a hexeditor.

Aloone_Jonez

  • Administrator
  • Member
  • ***
  • Posts: 4,090
  • Kudos: 954
Re: Strange string in command.com
« Reply #5 on: 6 October 2005, 21:04 »
I can't see anything strange here, this sort of thing is very common in MS-DOS.
This is not a Windows help forum, however please do feel free to sign up and agree or disagree with our views on Microsoft.

Oh and FUCKMicrosoft! :fu:

Jack2000

  • Guest
Re: Strange string in command.com
« Reply #6 on: 6 October 2005, 21:16 »
Cmon this is obviusly the section where the startup files are listed
why whould it have /dev/con string!
the other two are with :\ and \ indicating that it should load them
from the def driver where command.com is located
even the slashes on it are the other direction !!!!!
can't you see the connection it is just some trash part left
from an Unix based sys !!!

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Re: Strange string in command.com
« Reply #7 on: 6 October 2005, 21:24 »
MS-DOS has always had Unix-like device commands.  You never see them, but they're there and always have been.

/dev/con
/dev/nul
/dev/clock$
/dev/lpt1
/dev/prn
/dev/com1

Those I can remember off-hand.  It's no mystery that DOS is a poorly-conceived, single user Unix clone.
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

noob

  • Member
  • **
  • Posts: 224
  • Kudos: 74
Re: Strange string in command.com
« Reply #8 on: 6 October 2005, 21:25 »
the lying bastards.
Windows XP Service Pack 2. Because we couldn't be arsed the first time.

Windows 98 Second Edition. Look, now you don't need that bloody CD to install new hardware.

Windows Vista. Even your computer knows you have a small penis.

Windows Blackcomb. We are planning the OS after Vista, which is allready a year late.

Windows ME, the Marmite Operating System.

XP Mobile. Take your errors with you.

hm_murdock

  • VIP
  • Member
  • ***
  • Posts: 2,629
  • Kudos: 378
  • The Lord of Thyme
Re: Strange string in command.com
« Reply #9 on: 7 October 2005, 09:44 »
Actually, it's a crudely constructed CP/M clone that was made for Apple IIs and old 8080 machines. Quick and Dirty Operating System. I think it was done by a guy at a software firm to see if he could. MS bought this hack and sold it as MS-DOS.

I've heard stories that the original author built it in one afternoon while dropping acid. I wonder about the validity of the one afternoon bit, but some amount of LSD would be required to make DOS.
Go the fuck ~

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
Re: Strange string in command.com
« Reply #10 on: 7 October 2005, 18:00 »
Dos was never based on Unix, in fact, its so different to Unix that the notion of it is Insane.

The /dev/ bit is probably what tells the system that it is a device, but opening a file with the typical API called "Con", "Aux", etc is basically opening a device. Dos has no /dev/ directory on the filename, no such thing as device nodes, just a crude API for input/serial/printer devices.

It is NOT unix. Also, CP/M had the same thing.

Aloone_Jonez

  • Administrator
  • Member
  • ***
  • Posts: 4,090
  • Kudos: 954
Re: Strange string in command.com
« Reply #11 on: 7 October 2005, 19:40 »
I know that but they did borrow some UNIX concepts like redirection and pipes which is possibly where the devices /CON /NUL came from.
This is not a Windows help forum, however please do feel free to sign up and agree or disagree with our views on Microsoft.

Oh and FUCKMicrosoft! :fu:

Jenda

  • Member
  • **
  • Posts: 530
  • Kudos: 326
Re: Strange string in command.com
« Reply #12 on: 8 October 2005, 22:51 »
Quote
Actually, it's a crudely constructed CP/M clone that was made for Apple IIs and old 8080 machines. Quick and Dirty Operating System. I think it was done by a guy at a software firm to see if he could. MS bought this hack and sold it as MS-DOS.


They just removed the "quick" part. :)

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
Re: Strange string in command.com
« Reply #13 on: 9 October 2005, 14:03 »
Quote from: Aloone_Jonez
I know that but they did borrow some UNIX concepts like redirection and pipes which is possibly where the devices /CON /NUL came from.

I don't think pipes were in CP/M, just QDOS and MSDOS. However I am not sure, I know they were in MP/M. In fact when you read on MP/M you wonder why the hell it didn't blow MSDOS out of the water.

anphanax

  • Member
  • **
  • Posts: 197
  • Kudos: 11
    • http://june.tripod.com
Re: Strange string in command.com
« Reply #14 on: 17 October 2005, 03:20 »
Hey, you've got XP or 2K laying around, check this out (this stuff doesn't exist in WinDOS 9x):


con\prn\nul\aux\com#\lpt# are just the tip of a much bigger iceberg :P.

For instance, although stupid, you can make your floppy drive light up by typing this in cmd.exe:
"more < \\.\GLOBALROOT\DEVICE\Floppy0"

If I recall correctly, those are all in some sort of kernel namespace (\..\?), and a lot of that junk isn't accessible in user-mode windows (in other words, I think some stuff, like the contents of the "Drivers" path, is only accessible in kernel-mode). Also, I believe there's a specialized undocumented API for working with kernel objects on NT. "NtQueryObject" from NTDLL.DLL comes to mind, for one.