home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / W2KPRK.iso / apps / smartsketch_le / data1.cab / program_bin / regocx.bat < prev    next >
DOS Batch File  |  1999-11-02  |  858b  |  27 lines

  1. REM Other Application specific registration - should be changed for other apps
  2. REM Bat file for registering OCX/DLL ... for Windows95 or NT
  3. REM the startup dll registration (required for all applications)
  4.  
  5. if "%OS%"=="Windows_NT" goto WINNT
  6.  
  7. REM register command dlls
  8. REM regsvr32 /s TBarCmds.dll
  9.  
  10. REM register ocx's Windows95...
  11. call %windir%\system\regsvr32 /s pvdt50.ocx
  12. call %windir%\system\regsvr32 /s jcontrols.ocx
  13. call %windir%\system\regsvr32 /s I2DCmCtl.ocx
  14. call %windir%\system\regsvr32 /s I2DMsCtl.ocx
  15. REM call %windir%\system\regsvr32 /s I2MnuCtl.ocx
  16. goto done
  17.  
  18. :WINNT
  19.  
  20. call %windir%\system32\regsvr32 /s pvdt50.ocx
  21. call %windir%\system32\regsvr32 /s jcontrols.ocx
  22. call %windir%\system32\regsvr32 /s I2DCmCtl.ocx
  23. call %windir%\system32\regsvr32 /s I2DMsCtl.ocx
  24. REM call %windir%\system32\regsvr32 /s I2MnuCtl.ocx
  25.  
  26. :done
  27.