home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
DESKTOP
/
NAMPRO39.ZIP
/
NP32D.ZIP
/
NPD.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-09-15
|
1KB
|
64 lines
echo off
cls
: NP.bat Version: Aug 15 1988
: %1 is drive of data files
: %2 is subdirectory of data files
: %3 is drive of program files
: subdirectory of program files is always \NP
: This sets the correct subdirectory for your data drive
%1
if (%2)==() cd \NP
if NOT (%2)==() cd %2
IF (%3)==() goto :JUMPDATDRV
%3
:JUMPDATDRV
IF NOT (%3)==() %3
IF (%3)==() C:
cd \np
set >PROMPTER.BAT
if (%1)==(v) goto :RUN
if (%1)==(V) goto :RUN
if not exist %1SUPER.DAT DFRUN SRESTORE %1 %2 %3
if not exist ENV.BAT DFRUN SDXSET
IF NOT (%1)==() set DFPROG=%1\NP
IF (%1)==() set DFPROG=C:\NP
if not exist env.bat echo Your ENV.BAT file is missing from the \NP subdirectory.
if not exist env.bat echo
if not exist env.bat echo To restart, type: NP V then press return.
if not exist env.bat pause
if not exist env.bat goto :EXIT
env.bat %1 %2 %3
GOTO :EXIT
:RUN
prompt $p$g
set DFPROG=
set DFPATH=
DFRUN SDXMENU %1 %2 %3
GOTO :EXIT
:EXIT
if not exist restart goto :EXIT2
rename restart rest
env.bat
:EXIT2
set dfprog=
set dfpath=
CD \
%3
:envset.bat >nul
:erase set.bat
echo Thank you for using NameProcessor(r)
echo
echo
echo To fire up your NameProcessor(r) again, type in "NP" then press return
ECHO ON