Dec 192017
 
Change internal DOS commands so you can run other programs instead. Use this one with care.
File INTERNL.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Change internal DOS commands so you can run other programs instead. Use this one with care.
File Name File Size Zip Size Zip Type
INT.DOC 4272 1726 deflated
INT.EXE 11271 6806 deflated

Download File INTERNL.ZIP Here

Contents of the INT.DOC file


INT(ernal) 1.0 May 20, 1991
by David Masaki


DESCRIPTION

There are many useful utilities that are designed to act just like
DOS commands but with many enhancements. For example, DOS's XCOPY
is designed as an enhancement to it's internal command COPY. The
Norton Utilities' NCD and PC Magazine's CDX are both designed as
an enhancement to CD. These are just a few examples of the
enhancements available.

When you switch to one of these utilities you must remember to type
in the new command name rather than what you're used to. When you
want to replace an external DOS command (an external command needs
to be loaded from disk), it's easy. All you need to do is replace
the old DOS file.

For example, to use PC Tool's PCFORMAT.COM in place of DOS's
FORMAT.COM, all you need to do is copy PCFORMAT.COM over
FORMAT.COM. From then on, whenever you type FORMAT, what was
PCFORMAT.COM will be run.

What about internal DOS commands (an internal command is run from
memory)? This program is designed to help. INT(ernal) will allow
you to turn off, turn back on, and rename internal DOS commands.


USAGE

The syntax for INT(ernal) is

INT [replacement name] [COMMAND.COM]

The command name is the name of the command that you wish to turn
off, turn on, or rename. This parameter is required.

The replacement name is the name that you want to replace the DOS
command name with. It must be the same number of characters as the
original DOS command name. It is optional, and if it is not
specified then the DOS command name will be toggled between on and
off each time INT(ernal) is run.

The last parameter is the path and file name of COMMAND.COM. This
is optional, and if it is left out, INT(ernal) will look for the
COMSPEC environment setting to find COMMAND.COM. If you have more
than one copy of COMMAND.COM which is used, then you should use
INT(ernal) to perform the same action on all copies. This option
must contain either a colon (:), backslash(\), or period(.),
because INT(ernal) looks for these characters to distinguish
between the options.

The changes will not take affect until the modified COMMAND.COM is
loaded either by a reboot, or running the modified COMMAND.COM.
After INT(ernal) is run, a reboot is strongly recommended. If you
choose not to reboot, you should immediately type

COMMAND

after running INT(ernal) to load the modified COMMAND.COM. This
will take up a bit of memory because the modified COMMAND.COM is
being loaded on top of the old COMMAND.COM. This may not be
possible because the system may hang. If it does, press and hold
Ctrl-Alt-Del to reboot.


EXAMPLES

One use for INT(ernal) is to replace XCOPY with COPY. A lot of
software uses the COPY command when it installs itself on your hard
disk. Using XCOPY instead will speed things up. First, you will
need to disable DOS's internal COPY command. To do this you can
type

INT COPY

This will turn off DOS's internal COPY command. Typing

INT COPY

again will turn it back on. When a command is off, it is
completely inaccessible. If you still wanted to have access to
COPY, you could rename COPY to something else. Say you wanted to
call it COPI. Type

INT COPY COPI

to rename it to COPI. After this, typing COPI will run what was
COPY. Remember that the new name must have the same number of
characters as the old one.

INT COPY OLDCOPY

would not work because "OLDCOPY" has more characters in it than
"COPY".

After using one of the above techniques to disable COPY, you should
reboot. Then rename XCOPY.EXE to COPY.EXE. Now whenever you type
COPY, XCOPY will be run.

If you have more than one version of COMMAND.COM which is used, you
should repeat the steps for each copy of COMMAND.COM. This can be
done by specifying COMMAND.COM as the last parameter on the command
line. For example,

INT COPY COPI C:\COMMAND.COM

Will rename COPY to COPI in C:\COMMAND.COM.


DISCLAIMER

This program is free to use and distribute. I will not be held
responsible for any damages that may occur from the use of this
program and/or documentation.


 December 19, 2017  Add comments

Leave a Reply