home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / smxdemo / autoexec.bat next >
DOS Batch File  |  1993-07-13  |  977b  |  63 lines

  1. @echo off
  2. numlkoff
  3. prompt $p$g
  4. cls
  5. if not exist slshow.x goto 1
  6. if exist continue.x  erase slshow.x
  7. if not exist continue.x  rename slshow.x continue.x
  8. c:
  9. cd \smxdemo\slshow
  10. cls
  11. call slshow.bat
  12. goto 5
  13.  
  14. :1
  15. if not exist file.x goto 2
  16. if exist continue.x  erase file.x
  17. if not exist continue.x  rename file.x continue.x
  18. c:
  19. cd \smxdemo\file
  20. cls
  21. fdemol
  22. goto 5
  23.  
  24. :2
  25. if not exist filed.x goto 3
  26. if exist continue.x  erase filed.x
  27. if not exist continue.x  rename filed.x continue.x
  28. c:
  29. cd \smxdemo\file
  30. cls
  31. fdemol d
  32. goto Done
  33.  
  34. :3
  35. if not exist 286.x goto 4
  36. if exist continue.x  erase 286.x
  37. if not exist continue.x  rename 286.x continue.x
  38. path=c:\p286\bin;
  39. c:
  40. cd \smxdemo\286
  41. cls
  42. run286 ddemolt
  43. cls
  44. goto 5
  45.  
  46. :4
  47. if not exist ems.x goto 5
  48. if exist continue.x erase ems.x
  49. if not exist continue.x rename ems.x continue.x
  50. c:
  51. cd \smxdemo\ems
  52. cls
  53. emsdemo.exe
  54.  
  55. :5
  56. a:
  57. cd \
  58. cls
  59. echo Returning to Rundemos. Please Wait...
  60. rundemos
  61.  
  62. :Done
  63.