home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
os2tex.zip
/
disk1.zip
/
doc.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-06-17
|
5KB
|
261 lines
/* Rexx-Script zur Erzeugung der OS2TeX-Objekte */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
parse arg language target
if language = '' then do
exit 1
end
if target = '' then do
exit 1
end
/* SysDestroyObject('<TEX_SHELL_FOLDER>') */
if language = '049' then do
cf = 'Erzeuge Ordner'
co = 'Erzeuge Objekt'
/* OS2TeX Ordner erzeugen */
classname = 'WPFolder'
title = 'OS/2-TeX'
location = '<WP_DESKTOP>'
setup = 'ICONFILE='target'\bin\folder.ico;OBJECTID=<OS2TEX_FOLDER>;ICONVIEW=NONFLOWED;OPEN=ICON'
duplicate = 'update'
say cf title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
/* Dokumentations Ordner */
classname = 'WPFolder'
title = 'Dokumentation'
location = '<OS2TEX_FOLDER>'
setup = 'OBJECTID=<OS2TEX_DOC_FOLDER>;ICONVIEW=NONFLOWED,MINI;OPEN=ICON'
duplicate = 'update'
say cf title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
/* Sonstige Dokumentationen */
classname = 'WPProgram'
title = 'Merkblatt zur Grafikeinbindung'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_IMAGENOTE>;PARAMETERS='target'\doc\os2tex-image-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
classname = 'WPProgram'
title = 'Merkblatt zur Server Konfiguration'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_FONTSERVICENOTE>;PARAMETERS='target'\doc\os2tex-fontservice-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
classname = 'WPProgram'
title = 'Merkblatt zu Problemen mit OS2TeX'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_PROBLEMSNOTE>;PARAMETERS='target'\doc\os2tex-problems-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
end
if language = 044 then do
cf = 'Creating folder'
co = 'Creating object'
/* OS2TeX Ordner erzeugen */
classname = 'WPFolder'
title = 'OS/2-TeX'
location = '<WP_DESKTOP>'
setup = 'ICONFILE='target'\bin\folder.ico;OBJECTID=<OS2TEX_FOLDER>;ICONVIEW=NONFLOWED;OPEN=ICON'
duplicate = 'update'
say cf title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
/* Dokumentations Ordner */
classname = 'WPFolder'
title = 'Documentation'
location = '<OS2TEX_FOLDER>'
setup = 'OBJECTID=<OS2TEX_DOC_FOLDER>;ICONVIEW=NONFLOWED,MINI;OPEN=ICON'
duplicate = 'update'
say cf title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
/* Sonstige Dokumentationen */
classname = 'WPProgram'
title = 'Notes about integrating graphics'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_IMAGENOTE>;PARAMETERS=-044 'target'\doc\os2tex-image-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
classname = 'WPProgram'
title = 'Notes about server configuration'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_FONTSERVICENOTE>;PARAMETERS=-044 'target'\doc\os2tex-fontservice-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
classname = 'WPProgram'
title = 'Notes about problems'
location = '<OS2TEX_DOC_FOLDER>'
setup = 'EXENAME='target'\bin\dvi.exe;PROGTYPE=PM;STARTUPDIR='target'\bin;OBJECTID=<OS2TEX_PROBLEMSNOTE>;PARAMETERS=-044 'target'\doc\os2tex-problems-note.dvi'
duplicate = 'replace'
say co title
rc = SysCreateObject(classname,title,location,setup,duplicate)
if rc = 0 then do
exit 1
end
end
exit 0