Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
990 B

  1. rem echo off
  2. if "%1"=="" goto error_msg
  3. set SHAREPOINT=%1
  4. set DESTDRIVE=c:
  5. set DESTDIR=progra~1\salem
  6. :Get_Dest_Drive
  7. if "%2"=="" goto Copy_Files
  8. set DESTDRIVE=%2
  9. :Copy_Files
  10. set DEST=%DESTDRIVE%\%DESTDIR%
  11. mkdir %DEST%
  12. net use z: %SHAREPOINT%
  13. copy z:\as\cpi32.nt\obj\i386\rdas32.* %DEST%
  14. copy z:\as\dd\obj\i386\rdasdd.* %DESTDRIVE%\winnt\system32
  15. copy z:\extern\i386\msvcrtd.dll %DEST%
  16. copy z:\extern\i386\rdasdd.w2k %DESTDRIVE%\winnt\system32\drivers\rdasdd.sys
  17. copy z:\samples\service\obj\i386\service.* %DEST%
  18. copy z:\samples\server\obj\i386\server.* %DEST%
  19. copy z:\samples\client\obj\i386\client.* %DEST%
  20. copy z:\t120\mst120\obj\i386\rdcall.* %DEST%
  21. copy z:\samples\rdcert\obj\i386\rdcert.* %DEST%
  22. copy z:\cert\obj\i386\rdmkcert.* %DEST%
  23. regedit z:\ntx.reg
  24. echo MANUALLY CHANGE \rdasdd\Device0\InstalledDisplayDrivers to be a
  25. echo REG_MULTI_SZ value type with value rdasdd
  26. net use z: /d
  27. goto exit
  28. :error_msg
  29. echo usage: setupw2k sharepoint [destination drive]
  30. goto exit
  31. :exit