I am a CNE for a large network consulting company in the Boston area. In my
work I have had the need for some utilities that I have not been able to find,
so I wrote them. The following is the list of the utilities and a description
of there function

File name          Size    Date      Time.
------------------------------------------
YN.EXE             19,632 10-14-94   8:00p
DIRP.EXE           18,288 10-14-94   7:56p
DOSFIND.EXE        22,048 10-14-94   8:09p
HOMEDIR.EXE        16,672 10-13-94  12:11a

YN.EXE
This program is to be used within a batch file. This program will display a
prompt, ask a Yes or No question, and have default time-out. You can trap on
the error code that this program will set when it exits.

Sample BATCH file

YN 30 Start Windows ?
IF ERRORLEVEL 2 GOTO NOWINDOWS      If the users enters N
                                    then go to the NOWINDOWS
IF ERRORLEVEL 1 GOTO WINDOWS        This is the Yes answer
IF ERRORLEVEL 0 GOTO NOWINDOWS      This is the default.
                                    That is the user did not
                                    enter any answer.

:WINDOWS
CD /WINDOWS
WIN

:NOWINDOWS

End of sample BATCH file


DIRP.EXE
This is DIRectoryPath. This will search for a file name in that same way DOS
looks for a program on your system. This is useful if the system was more then
one copy of the same program and you think you are running the wrong one from
the directory you are in.


DOSFIND.EXE
The same a FIND that is found in DOS 6.x put this will work with any version of
DOS. I made a batch file upgrade a company's users system from NETX to VLM. Put
some user's system are not DOS 6. I found out the hard way that find on older
DOS did not use ERROR codes on exit.


HOMEDIR.EXE
Used within a Novell logon script. The user login name can be up 47 characters.
As you know most admins try to use a user's home area with the same name as the
login name. Most admins use First letter of the first name and full last name.
For me Jack Forman, my login name will be "jforman" This is fine but for some
users the combination will be over 8 characters, and that will make the MAP
command fail.

Sample LOGIN SCRIPT


MAP H:=SYS:USERS
#HOMEDIR H: %LOGIN_NAME
MAP ROOT H:=H:

END LOGIN SCRIPT

This logon script will first MAP the users area on the server. Then CD to the
directory for the user logging in (Only the first eight characters of the
user's login name). Last re-MAP the H: drive to be ROOT, so the user's home
area on the server will look like H:\ to the user.
