home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Business Development Kit / PRODUCT_CD.iso / sqlsvr / i386 / pubtext.bat < prev    next >
Encoding:
DOS Batch File  |  1995-07-12  |  984 b   |  22 lines

  1. @echo off
  2. if "%1" == "" goto usage
  3. echo.
  4. echo Inserting text into pubs database on server %1
  5. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '1389'" -Falgodata.txt
  6. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '0877'" -Fbinnet.txt
  7. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '9901'" -Fgggg.txt
  8. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '1622'" -F5lakes.txt
  9. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '0736'" -Fnewmoon.txt
  10. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '9999'" -Flucerne.txt
  11. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '1756'" -Framona.txt
  12. textcopy -I -Usa -P%2 -S%1 -Dpubs -Tpub_info -Cpr_info -W"where pub_id = '9952'" -Fscootney.txt
  13. echo Text update complete!
  14. echo.
  15. goto done
  16. :usage
  17. echo.
  18. echo Usage: pubtext ServerName [SAPassword]
  19. echo.
  20. :done
  21.  
  22.