Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
i want to know bout the command.com file?? what is it mainly?? how could i make it?? what kind of programming language i can use to make it?? or where can i found these info?? plz anyone help me
 

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
thanx for ur info buddy
which programming language can i use for making this kind of files??
 

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
mainly i wanna know how can i make a .com file?? not the commad.com directly.
as a the .exe file. a .exe file can make so easily but how could i make a .com file??
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
a. You would need a programming environment that is adaptable enough to create .com files.

b. The difference between .com and .exe is that a .com file is in fact the memory layout of the entire program. An .exe is more versatile than that. In other words the .com format has been superseded by the .exe.

c. Why would you want to? The only reason I can think of right off the bat is to trick users into thinking they go to a website instead of start a program.

d. If you really are interested in creating .coms it would be best to ask a Windows development forum instead of a Mac OS X forum that dabbles with Windows on the side.
 

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
boss i dont want the language of the .com programming. i just wanna know bout the compiler. if there any?? but boss i never heard from anyone this kind of compiler. that can make .com files.

a. You would need a programming environment that is adaptable enough to create .com files.

b. The difference between .com and .exe is that a .com file is in fact the memory layout of the entire program. An .exe is more versatile than that. In other words the .com format has been superseded by the .exe.

c. Why would you want to? The only reason I can think of right off the bat is to trick users into thinking they go to a website instead of start a program.

d. If you really are interested in creating .coms it would be best to ask a Windows development forum instead of a Mac OS X forum that dabbles with Windows on the side.
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
boss i dont want the language of the .com programming. i just wanna know bout the compiler. if there any?? but boss i never heard from anyone this kind of compiler. that can make .com files.
You don't get it. .com is the extension of a type of program. It doesn't thave to do with language, it doesn't have to do with compiler. Either the compiler has the switches to create a .com program or it doesn't.

As I said, try a Windows forum.

P.S.: I'm not your boss.
 

John.B

macrumors 601
Jan 15, 2008
4,197
708
Holocene Epoch
Good Lord, WHY?!?

boss i dont want the language of the .com programming. i just wanna know bout the compiler. if there any?? but boss i never heard from anyone this kind of compiler. that can make .com files.
:eek:

Wow, this takes me back to the olden days! The "compiler" for .com files is assembler, you can also take a properly formatted (read: completely and totally arcane) text file of the assembler codes and create a .com file by piping the assembler into the old DOS debug command. But I don't recommend it. Bobbi is right, the .com files were a file mapping of the assembler as it was loaded into memory (which OBTW made writing virii for .com files easy if you knew what you were doing).

Continuing the stroll down memory lane, Command.com contained all of the commands (copy, dir, etc.) that weren't one of the handful built into the actual OS itself (either msdos.sys or io.sys, plus config.sys), or weren't separate programs. Back in the day we used a command.com replacement named 4DOS that had enhanced functionality over what the MS-DOS version provided (we're talking MS-DOS 3.x here, the pre-Windows days).

As someone who lived through this era, I can't imagine why anyone would want to revisit it. OS X gives you real BSD Unix scripting and a real "command line" (an insult, really, to call it that) via terminal. Other than to write a virus for DOS or early Windows (Win9x/WinME) computers I can't imagine why anyone would be remotely interested in creating .com programs.

Now if you'll excuse me, I think I'll go on a two day bender to try and purge those days from my memory. ;)
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
The "compiler" for .com files is assembler, ...
Or, as in my case, C.

you can also take a properly formatted (read: completely and totally arcane) text file of the assembler codes and create a .com file by piping the assembler into the old DOS debug command. But I don't recommend it.
Debug! EEEEeewwww.... You kiss your mother with that mouth? :D I hated that program.

Back in the day we used a command.com replacement named 4DOS that had enhanced functionality over what the MS-DOS version provided (we're talking MS-DOS 3.x here, the pre-Windows days).
Norton had a brother in NDOS. Worked like a charm, though it still was a clone of 4DOS.

Now if you'll excuse me, I think I'll go on a two day bender to try and purge those days from my memory. ;)
I'm joining you! Bartender! Set them up again!
 

sushi

Moderator emeritus
Jul 19, 2002
15,639
3
キャンプスワ&#
Wow, this takes me back to the olden days! The "compiler" for .com files is assembler, you can also take a properly formatted (read: completely and totally arcane) text file of the assembler codes and create a .com file by piping the assembler into the old DOS debug command.
Ah, the memories...

Debug! EEEEeewwww.... You kiss your mother with that mouth? :D I hated that program.
MLOL! :D

Now if you'll excuse me, I think I'll go on a two day bender to try and purge those days from my memory. ;)
I'm joining you! Bartender! Set them up again!
I'll be there with you! :)
 

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
thnax for all boss. u tell me i can use C language for making the .com files. how could i do that?? plz tell me?? which compiler of C version can do that??
Turbo C?? Borland C?? or the Microsoft Visual C??
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
thnax for all boss. u tell me i can use C language for making the .com files. how could i do that?? plz tell me?? which compiler of C version can do that??
Turbo C?? Borland C?? or the Microsoft Visual C??
There are hundreds of books on C... Pick one and learn to code. Then, if you have questions, go to a programming forum for Windows. End of story on my part.
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
Speaking of memory lane, I am having fun this week using an HP Digital Cassette Drive connected to my HP-71B.
That's even too quaint for me... And the kids already look at me with question marks in their eyes, and a hand ready to dial 911 (You never know if it is contagious or if the old man is going mad). "DOS 3.0? Word Perfect? dBase? Arpanet? Bulletin Board? No Mouse???? How could you do something!!!!!!!!!"
 

rezax123

macrumors newbie
Original poster
Feb 21, 2008
6
0
thanx boss i got some hint from u that really help me to do my job. thanx again
 

sushi

Moderator emeritus
Jul 19, 2002
15,639
3
キャンプスワ&#
That's even too quaint for me... And the kids already look at me with question marks in their eyes, and a hand ready to dial 911 (You never know if it is contagious or if the old man is going mad). "DOS 3.0? Word Perfect? dBase? Arpanet? Bulletin Board? No Mouse???? How could you do something!!!!!!!!!"
We don't need no stinking mouse! :p

BTW, I started with DOS 1.0, and remember the upgrades to version 2, 3, and so on. :eek:

I used these at one time. This is a picture of one that I personally made in 1975. The card 33 years old, or older than a majority of MR members me thinks! :D
 

Attachments

  • Punch Card - Characters.jpg
    Punch Card - Characters.jpg
    500.4 KB · Views: 107

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
My first experience was MS DOS 3. Working with those oldies, but goodies like Word Perfect 4.2, dBase III+ and Lotus 1-2-3 v.2.20. First programming work in dBase, and went on to become the phreak I am now.

How times fly.... Or is it how time flies.
 

sushi

Moderator emeritus
Jul 19, 2002
15,639
3
キャンプスワ&#
My first experience was MS DOS 3. Working with those oldies, but goodies like Word Perfect 4.2, dBase III+ and Lotus 1-2-3 v.2.20. First programming work in dBase, and went on to become the phreak I am now.

How times fly.... Or is it how time flies.
You are listing some of my favorite programs at that time.

It's fun to see dBase III+ applications still in use in some places. The screen is always recognizable. :)

If memory serves, DOS 3 was buggy. The 3.3 update was a good version.

Did you every use an HP-200LX? It had Lotus 1-2-3 built in.
Picture of HP-200LX and EeePC 4G-X
 

Bobbi Flekman

macrumors regular
Jan 14, 2008
176
0
You are listing some of my favorite programs at that time.
:D

It's fun to see dBase III+ applications still in use in some places. The screen is always recognizable. :)
I never see them anymore. My first paid programming job was in Clipper, and these days my job is mostly writing countermeasures for malware in Windows and supporting them in many anti-malware forums online. I work in Windows 2000 and run Leopard at home with VMware and every possible Windows flavor as VM.

If memory serves, DOS 3 was buggy. The 3.3 update was a good version.
Honestly... I can't remember. I started with 3, and I didn't know the difference between feature and bug. Tried to kill programs instead of shutting them down, etc. My "job" mostly was playing King's Quest, Space Quest and Leisure Suit Larry on a monochrome Hercules screen. Everyone did stuff like bookkeeping or accountmanagement with actual books and rolodexes and such. Try that now and these youngsters don't even know how to spell rolodex.

When I got to understand how those computers worked, the system was already upgraded to MS DOS 3.3 (read new computer with CGA 4 color screen!!! w00t!!!)

I read about computer viruses and when Norton Anti Virus 1.0 * was released I got busy with it. Ever since I am security and anti-virus man. I still have a collection of some 1,500 floppy discs, both 5.25 and 3.5 ", at home with old baddies that are harmless these days.

*: When Norton was a respectable company, and wasn't taken over by the killer Symantec.

Now I program in Delphi, C++ and MS Assembly, and in that order.

And in the meantime I am getting more and more familiar with OS X, and eventually will switch programming as well.

That is in, extremely, short my history with computers. It is just a part of what I do with computers, as I am also a keyboardist/guitarist that uses the computer to drive synthesizers and such.

That HP... Never even heard of, let alone that I've seen it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.