home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Treasures, Inc.
/
pctreasures.mdf
/
UTILS
/
ESPNW.BAT
< prev
next >
Wrap
DOS Batch File
|
1999-11-10
|
3KB
|
119 lines
@Echo off
rem Ver 2.1
CLS
Echo.
Echo.
Echo Gathering information about eSafe Enterprise....
Echo.
Echo Please Wait ...
Echo.
Echo.
Rem Header
Echo ------------------------------------------------------>123.txt
Echo Aladdin. Securing The Global Village Ver 2.1 1999>>123.txt
Echo ------------------------------------------------------>>123.txt
Echo This file contains information gathered for inspecting >>123.txt
Echo eSafe Enterprise Please PRINT and FAX this file to >>123.txt
Echo Aladdin's Helpdesk or send via Email : >>123.txt
Echo FAX: 04-8811411 Email: esafe.support@aks.com >>123.txt
Echo ------------------------------------------------------>>123.txt
Echo ------------------------------------------------------>>123.txt
rem Network Version
Echo * Network Version * >>123.txt
NVER.EXE >>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem add LOGIN.DAT
Echo * LOGIN.DAT * >>123.txt
type sys:login\login.dat >>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem add SYSTEM LOGIN SCRIPT
ECHO * NET$LOG.DAT * >>123.txt
type sys:public\net$log.dat>>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem NDS script
Echo * NDS script * >>123.txt
nlist "organizational unit"=* show "login script" /r /s >>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem Add MAGENT.DAT
Echo * MAGENT.DAT * >>123.txt
type sys:esplan\magent.dat >>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem Add DEPLOY.DAT
Echo * DEPLOY.DAT * >>123.txt
type sys:deploy\deploy.dat >>123.txt
Echo ------ End of File -------------------->>123.txt
Echo.>>123.txt
Echo.>>123.txt
rem list directories to file
ndir sys:esplan >123.dir
ndir sys:esplan\vc >>123.dir
ndir sys:esplan\config >>123.dir
ndir sys:deploy >>123.dir
ndir sys:vs >>123.dir
ndir sys:login >>123.dir
rem List rights to directories
rights sys:esplan >>123.txt
rights sys:esplan\vc >>123.txt
rights sys:esplan\config >>123.txt
rights sys:deploy >>123.txt
rights sys:deploy\deploy.dat >>123.txt
rem DO PCC
map root p:=sys:esplan
p:\pcc.exe /p=123 /f=.
map del p:
break on
cls
echo.
echo.
echo A file named 123.txt was created in the current directory.
echo.
echo If you wish to send it by email attach this file to a message.
echo.
echo If you wish to send it by FAX print the file.
echo.
echo The FAX number and EMAIL address will be at the TOP of the file.
echo.
echo The file will be sent automatically to the default printer.
echo.
echo If you do not wish to print it at this time hit CTRL+C !
echo.
echo.
pause
break on
cls
echo.
echo.
echo About to print information file to PRN press CTRL+C to cancel ....
echo.
echo.
pause
copy 123.txt PRN