Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Shaswata Das 5c6fe3db62
Create README.md
4 years ago
..
br commiting as it is 4 years ago
chp commiting as it is 4 years ago
chs commiting as it is 4 years ago
cht commiting as it is 4 years ago
cs commiting as it is 4 years ago
da commiting as it is 4 years ago
el commiting as it is 4 years ago
es commiting as it is 4 years ago
fi commiting as it is 4 years ago
fr commiting as it is 4 years ago
ger commiting as it is 4 years ago
hu commiting as it is 4 years ago
it commiting as it is 4 years ago
jpn commiting as it is 4 years ago
kor commiting as it is 4 years ago
nl commiting as it is 4 years ago
no commiting as it is 4 years ago
pl commiting as it is 4 years ago
psu commiting as it is 4 years ago
pt commiting as it is 4 years ago
ru commiting as it is 4 years ago
sv commiting as it is 4 years ago
tr commiting as it is 4 years ago
tst commiting as it is 4 years ago
usa commiting as it is 4 years ago
buildmsg.c commiting as it is 4 years ago
comequ.asm commiting as it is 4 years ago
command1.asm commiting as it is 4 years ago
command2.asm commiting as it is 4 years ago
comseg.asm commiting as it is 4 years ago
comsw.asm commiting as it is 4 years ago
copy.asm commiting as it is 4 years ago
copypr1.asm commiting as it is 4 years ago
copypr2.asm commiting as it is 4 years ago
cparse.asm commiting as it is 4 years ago
dir.asm commiting as it is 4 years ago
dirs commiting as it is 4 years ago
envdata.asm commiting as it is 4 years ago
fordata.asm commiting as it is 4 years ago
ifequ.asm commiting as it is 4 years ago
init.asm commiting as it is 4 years ago
iparse.asm commiting as it is 4 years ago
loadhi.asm commiting as it is 4 years ago
makefile.sub commiting as it is 4 years ago
parse2.asm commiting as it is 4 years ago
path1.asm commiting as it is 4 years ago
path2.asm commiting as it is 4 years ago
rdata.asm commiting as it is 4 years ago
readme.txt commiting as it is 4 years ago
resmsg.equ commiting as it is 4 years ago
rucode.asm commiting as it is 4 years ago
sources.inc commiting as it is 4 years ago
stub.asm commiting as it is 4 years ago
tbatch.asm commiting as it is 4 years ago
tbatch2.asm commiting as it is 4 years ago
tcmd1a.asm commiting as it is 4 years ago
tcmd1b.asm commiting as it is 4 years ago
tcmd2a.asm commiting as it is 4 years ago
tcmd2b.asm commiting as it is 4 years ago
tcode.asm commiting as it is 4 years ago
tdata.asm commiting as it is 4 years ago
tenv.asm commiting as it is 4 years ago
tenv2.asm commiting as it is 4 years ago
tfor.asm commiting as it is 4 years ago
tmisc1.asm commiting as it is 4 years ago
tmisc2.asm commiting as it is 4 years ago
tparse.asm commiting as it is 4 years ago
tpipe.asm commiting as it is 4 years ago
tprintf.asm commiting as it is 4 years ago
tranmsg.asm commiting as it is 4 years ago
tspc.asm commiting as it is 4 years ago
tucode.asm commiting as it is 4 years ago
uinit.asm commiting as it is 4 years ago

readme.txt

This directory contains source files for COMMAND.COM, including

internal commands.

A list of the internal commands, some characteristics, and hints
about where they're found appears in TDATA.ASM, labelled COMTAB.

COMSEG.ASM contains a brief description of each segment in
COMMAND.COM.

TRANDATA contains data which doesn't usually change, so is
included in the transient checksum area, while TRANSPACE is
modifiable, and excluded from the transient checksum. TRANSPACE
variable should be treated as uninitialized data for every
command cycle.

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

Here's a listing of the general contents of files,
concentrating on central functions and publics in each module.

Sizes are approximate and probably obsolete by the time you
read this.


Name Size Contents
(000's)

COMEQU ASM 10 Command.com equates, structures, macros.
COMMAND1 ASM 19 Main header & some resident code:
command.com entry point; exec call; ctrl/c handler.
COMMAND2 ASM 14 Resident code: alloc mem, load, & checksum transient;
int 2E (single command line execute) entry point;
check for removable media (callable by transient);
save user's stdin/out & set to stderr; restore stdin/out;
clean up program header, closing files;
set terminate, ctrl/c, disk error 'interrupt' vectors;
move environment to new segment at end of init.
COMSEG ASM 1 All segments, in load order.
COMSW ASM Build switches: refers to version.inc.
COPY ASM 28 COPY command.
COPYPR1 ASM 6 Routines for COPY command.
COPYPR2 ASM 10 Routines for COPY command.
CPARSE ASM 9 Command-line parse routine.
DIR ASM 73 DIR command.
ENVDATA ASM Default environment data definitions.
FORDATA ASM A data definition for FOR loop routine (tfor.asm).
IFEQU ASM 'Equates which are switch-dependent' (none here).
INIT ASM 47 Command.com initialization routine.
IPARSE ASM SYSPARSE equates (this file is probably obsolete).
PARSE2 ASM 13 Command-line parse routines, argv style.
PATH1 ASM 16 Pathname invocation (find an executable or batch file).
PATH2 ASM 13 See PATH1.
RDATA ASM 17 Resident data definitions.
RUCODE ASM 19 Language-dependent resident code:
ctrl/c batch termination dialog;
int 24 disk error handler;
DBCS lead byte check ITESTKANJ;
reset parse & critical error message ptrs before exiting;
RPRINT message printer.
TBATCH ASM 26 Batch processing routines.
TBATCH2 ASM 15 Batch processing routines.
TCMD1A ASM 17 Obsolete DIR command. Module no longer used.
TCMD1B ASM 20 PAUSE, DEL, RENAME, TYPE, VOL commands.
Find & print volume label & serial #.
Get/set a file's code page;
Set extended error message pointer;
Get extended error number.
TCMD2A ASM 12 VER, CLS command.
Support routines for transient:
build directory strings; print things.
TCMD2B ASM 18 CTTY, CHCP, TRUENAME commands.
Parse routines to set up error messages.
TCODE ASM 13 Main entry points to transient.
TDATA ASM 21 Transient data: internal command table;
parse control blocks; miscellaneous.
TENV ASM 13 PROMPT, SET commands. Environment utilities.
Restore user directory.
TENV2 ASM 14 CHDIR, MKDIR, RMDIR commands. Path crunch.
Save user directory.
TFOR ASM 15 FOR loop processing.
TMISC1 ASM 15 Old switch parser; find & execute commands;
prescan command-line, removing pipes & redirects;
Error recycle point for command.com.
TMISC2 ASM 10 Examine pathname, set up pathname argument.
Move string to srcbuf.
Set up error message for extended error.
Some redirection stuff (IOSET).
TPARSE ASM 1 Transient interface to system parser SYSPARSE.
TPIPE ASM 17 Pipe stuff. DATE, TIME commands.
Check for single command execute.
Set flag (in resident) to restore default directory.
TPRINTF ASM 11 Set up and print messages, with substitutions.
TRANMSG ASM 20 Transient messages and substitution blocks.
TSPC ASM 11 Transient 'uninitialized' data.
TUCODE ASM 14 Transient 'modifiable' code:
verification prompts for DEL;
ECHO, BREAK, VERIFY commands;
print date;
UINIT ASM 7 Data definitions/messages for initialization.
Includes parse control block for COMMAND command.
COMMAND CL1 2 Messages, class 1. Automatically generated.
COMMAND CL2 1 Messages, class 2. Automatically generated.
COMMAND CL3 1 Messages, class 3. Automatically generated.
COMMAND CL4 1 Messages, class 4. Automatically generated.
COMMAND CLA 8 Messages, class A. Automatically generated.
COMMAND CLB 2 Messages, class B. Automatically generated.
COMMAND CLC 3 Messages, class C. Automatically generated.
COMMAND CLD 5 Messages, class D. Automatically generated.
COMMAND CLE 7 Messages, class E. Automatically generated.
COMMAND CLF 18 Messages, class F. Automatically generated.
COMMAND CTL Number of message classes. Automatically generated.
RESMSG EQU 2 Message number equates for resident and init code.
COMMAND LNK LINK input file.
COMMAND SKL 10 Message skeleton file.
README TXT This file.