Advertisement
Guest User

Untitled

a guest
May 6th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. Hello
  2.  
  3. I am trying to streamline the Unattended project. Here are the comparisons, between what it currently is, and what it would look like if streamlined.
  4.  
  5. ####################
  6. ====================
  7. ####################
  8.  
  9. 1___________________
  10. Current script file;
  11.  
  12. CHOICE /C:YN /T:N,5 Override bootdisk defaults (if unsure, say yes)
  13. if errorlevel 2 goto gotcreds
  14. echo Enter location of install share (default %Z_PATH%):
  15. nset INPUT=$0
  16. if not %INPUT%. == . set Z_PATH=%INPUT%
  17. echo Enter username for mapping install share (default %Z_USER%):
  18. nset INPUT=$0
  19. if not %INPUT%. == . set Z_USER=%INPUT%
  20. echo Enter password for mapping install share (default %Z_PASS%):
  21. nset INPUT=$0
  22. if not %INPUT%. == . set Z_PASS=%INPUT%
  23. set INPUT=
  24.  
  25. 2_______________________
  26. Streamlined script file;
  27.  
  28. CHOICE /C:YNX /T:N /X:P,5 Override bootdisk defaults (if unsure, say yes)
  29. # Note: This should make the when typing X, it should go to FreeDOS prompt.
  30.  
  31. Computer_Name=
  32. Server_Name=
  33. Share_Name=
  34. User_Name=
  35. Password=
  36. #########################
  37. # All others under here #
  38. #########################
  39.  
  40. 1_______________
  41. Current prompts;
  42.  
  43. Override bootdisk defaults (if unsure, say yes) Y/N:
  44. Enter location of install share:
  45. Enter username for mapping install share:
  46. Enter password for mapping install share:
  47.  
  48. 2______________________
  49. Fully Featured prompts;
  50.  
  51. Override bootdisk defaults (if unsure, say yes) Y/N/X:
  52. Please enter computer name: #
  53. Please enter Server name: #
  54. Please enter Share name: #
  55. Please enter User name: #
  56. Please enter Password: #
  57. Confirm Password: #
  58.  
  59. ####################
  60. ====================
  61. ####################
  62.  
  63. Please help me streamline the Unattended project in the aforementioned way.
  64.  
  65. Thanks in advance,
  66.  
  67. Chip D. Panarchy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement