Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.25 KB | None | 0 0
  1. :CreateAccount
  2. @echo off
  3. cls
  4. title SCP Foundation Access Terminal - Beta
  5. echo.
  6. echo --------------------------------------------------------------
  7. echo SCP Foundation Access Terminal
  8. echo Secure. Contain. Protect.
  9. echo --------------------------------------------------------------
  10. echo Connection to site: Failed - Attempting to connect to remote logon server
  11. echo --------------------------------------------------------------
  12. echo Unauthroised usage of this terminal will result in prosecution
  13. echo.
  14. echo.
  15. set /p userSite= No logon server was detected - Please specify site: Site-
  16. echo.
  17. echo Processing...
  18. echo.
  19. echo Site acknowledged, logging into Site-%userSite%
  20. echo.
  21. set /p userDepartment= Specify your department:
  22. echo.
  23. echo Processing...
  24. echo.
  25. echo Department noted, registering terminal with department policy
  26. echo.
  27. set /p newName= Enter username:
  28. echo.
  29. echo Processing...
  30. echo.
  31. echo Username accepted
  32. echo.
  33. set /p firstName= Enter your first name:
  34. echo.
  35. echo Processing...
  36. echo.
  37. set /p lastName= Enter your last name:
  38. echo.
  39. echo Processing...
  40. echo.
  41. echo Name accepted
  42. echo.
  43. set /p siteRank= Enter your title within the Foundation:
  44. echo.
  45. echo Processing...
  46. echo.
  47. echo Title accepted
  48. echo.
  49. set /p password2= Enter your new password:
  50. echo.
  51. echo Processing...
  52. echo.
  53. echo Password accepted
  54. goto home
  55.  
  56. :authentication
  57. @echo off
  58. cls
  59. title SCP Foundation Access Terminal - Beta
  60. echo.
  61. echo SCP Foundation Access Terminal
  62. echo.
  63. echo.
  64. echo Unauthroised usage of this terminal will result in prosecution
  65. echo.
  66. echo.
  67. echo Please authenticate
  68. echo.
  69. echo.
  70. set /p name= Enter username:
  71. echo.
  72. echo Comparing against device identifier
  73. echo.
  74. echo New user identified - Provide new password
  75. echo.
  76. set /p password= Provide new password:
  77. choice /m "New password set as %password%, is this okay? (Y/N)"
  78. if errorlevel 2 goto authentication
  79. if errorlevel 1 echo Processing...
  80. echo.
  81. echo Access Granted
  82. echo.
  83. pause
  84. goto home
  85.  
  86. :authentication2
  87. @echo off
  88. cls
  89. title SCP Foundation Access Terminal - Beta
  90. echo.
  91. echo --------------------------------------------------------------
  92. echo SCP Foundation Access Terminal
  93. echo Secure. Contain. Protect.
  94. echo --------------------------------------------------------------
  95. echo Logged into Site-%userSite%
  96. echo --------------------------------------------------------------
  97. echo.
  98. echo Unauthroised usage of this terminal will result in prosecution
  99. echo.
  100. echo.
  101. echo Please authenticate
  102. echo.
  103. echo.
  104. set /p name= Enter username:
  105. if not %name%== %newName% goto :passwordWrong
  106. echo.
  107. echo Comparing against device identifier
  108. echo.
  109. :A
  110. echo Enter password to continue
  111. echo.
  112. set /p pass= Password:
  113. if NOT %pass%== %password2% goto :passwordWrong
  114. echo.
  115. echo Processing...
  116. echo.
  117. echo Logging in...
  118. echo.
  119. pause
  120. goto home
  121.  
  122. :passwordWrong
  123. @echo off
  124. cls
  125. title SCP Foundation Access Terminal - Beta
  126. echo.
  127. echo --------------------------------------------------------------
  128. echo SCP Foundation Access Terminal
  129. echo Secure. Contain. Protect.
  130. echo --------------------------------------------------------------
  131. echo Logged into Site-%userSite%
  132. echo --------------------------------------------------------------
  133. echo.
  134. echo Unauthroised usage of this terminal will result in prosecution
  135. echo.
  136. echo.
  137. echo Incorrect credentials provided
  138. echo --------------------------------------------------------------
  139. echo.
  140. echo.
  141. set /p name= Enter username:
  142. echo.
  143. echo Comparing against device identifier
  144. echo.
  145. :A
  146. echo Enter password to continue
  147. echo.
  148. set /p pass= Password:
  149. if NOT %pass%== %password2% goto :passwordWrong
  150. echo.
  151. echo Processing...
  152. echo.
  153. echo Logging in...
  154. echo.
  155. pause
  156. goto home
  157.  
  158. :Documents
  159. @echo off
  160. dir "C:\Users\%USERNAME%\Documents" > C:\Users\%USERNAME%\Documents\Documents.txt
  161. notepad.exe C:\Users\%USERNAME%\Documents\Documents.txt
  162. echo.
  163. echo Documents folder contents shown
  164. echo.
  165. pause
  166. goto home
  167.  
  168. :systeminformation
  169. @echo off
  170. cls
  171. echo.
  172. echo This terminal program is an experiment, deployed by O5-█. It is designed to make quick access to core tools easier and more secure. It's currently in early stages of development.
  173. systeminfo
  174. pause
  175. goto home
  176.  
  177. :CommandNotConfigured
  178. echo.
  179. echo Command not configured for use, returning to main menu
  180. goto home
  181.  
  182. :personnelDetails
  183. @echo off
  184. cls
  185. echo.
  186. echo Locally stored details for %siteRank% %lastName%
  187. echo.
  188. echo.
  189. echo Your name is %firstName% %lastName%
  190. echo.
  191. echo Your position within the Foundation is %siteRank%
  192. echo.
  193. echo Your username is %newName%
  194. echo.
  195. echo.
  196. choice /m "Are these details correct?"
  197. if errorlevel 2 goto newDetails
  198. if errorlevel 1 goto home
  199.  
  200. :personnelDetails2
  201. @echo off
  202. cls
  203. echo.
  204. echo Locally stored details for %siteRank% %firstName% %lastName%
  205. echo.
  206. echo.
  207. echo Your name is %firstName% %lastName%
  208. echo.
  209. echo Your position within the Foundation is %siteRank%
  210. echo.
  211. echo Your username is %newName%
  212. echo.
  213. echo.
  214. choice /m "Are these details correct?"
  215. if errorlevel 2 goto newDetails2
  216. if errorlevel 1 goto home2
  217.  
  218. :personnelDetails3
  219. @echo off
  220. cls
  221. echo.
  222. echo Locally stored details for %firstName% %lastName%
  223. echo.
  224. echo.
  225. echo Your name is %firstName% %lastName%
  226. echo.
  227. echo Your position within the Foundation is %siteRank%
  228. echo.
  229. echo Your username is %newName%
  230. echo.
  231. echo.
  232. choice /m "Are these details correct?"
  233. if errorlevel 2 goto newDetails3
  234. if errorlevel 1 goto home3
  235.  
  236. :personnelDetails4
  237. @echo off
  238. cls
  239. echo.
  240. echo Locally stored details for %firstName% %lastName%
  241. echo.
  242. echo.
  243. echo Your name is %firstName% %lastName%
  244. echo.
  245. echo Your position within the Foundation is %siteRank%
  246. echo.
  247. echo Your username is %newName%
  248. echo.
  249. echo.
  250. choice /m "Are these details correct?"
  251. if errorlevel 2 goto newDetails4
  252. if errorlevel 1 goto home4
  253.  
  254. :personnelDetails5
  255. @echo off
  256. cls
  257. echo.
  258. echo Locally stored details for %firstName% %lastName%
  259. echo.
  260. echo.
  261. echo Your name is %firstName% %lastName%
  262. echo.
  263. echo Your position within the Foundation is %siteRank%
  264. echo.
  265. echo Your username is %newName%
  266. echo.
  267. echo.
  268. choice /m "Are these details correct?"
  269. if errorlevel 2 goto newDetails5
  270. if errorlevel 1 goto home5
  271.  
  272. :personnelDetails6
  273. @echo off
  274. cls
  275. echo.
  276. echo Locally stored details for %firstName% %lastName%
  277. echo.
  278. echo.
  279. echo Your name is %firstName% %lastName%
  280. echo.
  281. echo Your position within the Foundation is %siteRank%
  282. echo.
  283. echo Your username is %newName%
  284. echo.
  285. echo.
  286. choice /m "Are these details correct?"
  287. if errorlevel 2 goto newDetails6
  288. if errorlevel 1 goto home6
  289.  
  290. :personnelDetails7
  291. @echo off
  292. cls
  293. echo.
  294. echo Locally stored details for %firstName% %lastName%
  295. echo.
  296. echo.
  297. echo Your name is %firstName% %lastName%
  298. echo.
  299. echo Your position within the Foundation is %siteRank%
  300. echo.
  301. echo Your username is %newName%
  302. echo.
  303. echo.
  304. choice /m "Are these details correct?"
  305. if errorlevel 2 goto newDetails7
  306. if errorlevel 1 goto home7
  307.  
  308. :newDetails
  309. @echo off
  310. cls
  311. echo.
  312. echo Details editing
  313. echo.
  314. echo.
  315. set /p firstName= Please enter your correct first name:
  316. echo.
  317. set /p lastName= Please enter your correct last name:
  318. echo.
  319. set /p siteRank= Please enter your role within the Foundation:
  320. echo.
  321. set /p newName= Please enter your username:
  322. echo.
  323. echo.
  324. echo All details changed.
  325. pause
  326. goto home
  327.  
  328. :newDetails2
  329. @echo off
  330. cls
  331. echo.
  332. echo Details editing
  333. echo.
  334. echo.
  335. set /p firstName= Please enter your correct first name:
  336. echo.
  337. set /p lastName= Please enter your correct last name:
  338. echo.
  339. set /p siteRank= Please enter your role within the Foundation:
  340. echo.
  341. set /p newName= Please enter your username:
  342. echo.
  343. set /p userSite= Please enter the site you're currently stationed at: Site-
  344. echo.
  345. echo All details changed.
  346. pause
  347. goto home2
  348.  
  349. :newDetails3
  350. @echo off
  351. cls
  352. echo.
  353. echo Details editing
  354. echo.
  355. echo.
  356. set /p firstName= Please enter your correct first name:
  357. echo.
  358. set /p lastName= Please enter your correct last name:
  359. echo.
  360. set /p siteRank= Please enter your role within the Foundation:
  361. echo.
  362. set /p newName= Please enter your username:
  363. echo.
  364. echo.
  365. echo All details changed.
  366. pause
  367. goto home3
  368.  
  369. :newDetails4
  370. @echo off
  371. cls
  372. echo.
  373. echo Details editing
  374. echo.
  375. echo.
  376. set /p firstName= Please enter your correct first name:
  377. echo.
  378. set /p lastName= Please enter your correct last name:
  379. echo.
  380. set /p siteRank= Please enter your role within the Foundation:
  381. echo.
  382. set /p newName= Please enter your username:
  383. echo.
  384. echo.
  385. echo All details changed.
  386. pause
  387. goto home4
  388.  
  389. :newDetails5
  390. @echo off
  391. cls
  392. echo.
  393. echo Details editing
  394. echo.
  395. echo.
  396. set /p firstName= Please enter your correct first name:
  397. echo.
  398. set /p lastName= Please enter your correct last name:
  399. echo.
  400. set /p siteRank= Please enter your role within the Foundation:
  401. echo.
  402. set /p newName= Please enter your username:
  403. echo.
  404. echo.
  405. echo All details changed.
  406. pause
  407. goto home5
  408.  
  409. :newDetails6
  410. @echo off
  411. cls
  412. echo.
  413. echo Details editing
  414. echo.
  415. echo.
  416. set /p firstName= Please enter your correct first name:
  417. echo.
  418. set /p lastName= Please enter your correct last name:
  419. echo.
  420. set /p siteRank= Please enter your role within the Foundation:
  421. echo.
  422. set /p newName= Please enter your username:
  423. echo.
  424. echo.
  425. echo All details changed.
  426. pause
  427. goto home6
  428.  
  429. :newDetails7
  430. @echo off
  431. cls
  432. echo.
  433. echo Details editing
  434. echo.
  435. echo.
  436. set /p firstName= Please enter your correct first name:
  437. echo.
  438. set /p lastName= Please enter your correct last name:
  439. echo.
  440. set /p siteRank= Please enter your role within the Foundation:
  441. echo.
  442. set /p newName= Please enter your username:
  443. echo.
  444. echo.
  445. echo All details changed.
  446. pause
  447. goto home7
  448.  
  449. :scientificMenu
  450. cls
  451. echo.
  452. echo Scientific Department Access
  453. echo.
  454. echo.
  455. echo Verifying machine, please wait...
  456. echo.
  457. echo Verifying user, please wait...
  458. echo.
  459. echo.
  460. echo Access Granted
  461. echo.
  462. pause
  463. cls
  464. echo.
  465. echo Scientific Department
  466. echo.
  467. echo.
  468. echo Welcome, %siteRank% %lastName%, what would you like to do?
  469. echo.
  470. echo.
  471. echo Press 1 to open Notepad for research notes
  472. echo.
  473. echo Press 2 to see saved research notes
  474. echo.
  475. echo Press 3 to return to main menu
  476. echo.
  477. choice /C 123
  478. if errorlevel 3 goto home
  479. if errorlevel 2 goto researchNotes
  480. if errorlevel 1 notepad.exe
  481.  
  482. :scientificMenu2
  483. cls
  484. echo.
  485. echo Scientific Department Access
  486. echo.
  487. echo.
  488. echo Verifying machine, please wait...
  489. echo.
  490. echo Verifying user, please wait...
  491. echo.
  492. echo.
  493. echo Access Granted
  494. echo.
  495. pause
  496. cls
  497. echo.
  498. echo Scientific Department
  499. echo.
  500. echo.
  501. echo Welcome, %siteRank% %firstName% %lastName%, what would you like to do?
  502. echo.
  503. echo.
  504. echo Press 1 to open Notepad for research notes
  505. echo.
  506. echo Press 2 to see saved research notes
  507. echo.
  508. echo Press 3 to return to main menu
  509. echo.
  510. choice /C 123
  511. if errorlevel 3 goto home
  512. if errorlevel 2 goto researchNotes
  513. if errorlevel 1 notepad.exe
  514.  
  515. :scientificMenu3
  516. cls
  517. echo.
  518. echo Scientific Department Access
  519. echo.
  520. echo.
  521. echo Verifying machine, please wait...
  522. echo.
  523. echo Verifying user, please wait...
  524. echo.
  525. echo.
  526. echo Access Granted
  527. echo.
  528. pause
  529. cls
  530. echo.
  531. echo Scientific Department
  532. echo.
  533. echo.
  534. echo Welcome, %firstName% %lastName%, what would you like to do?
  535. echo.
  536. echo.
  537. echo Press 1 to open Notepad for research notes
  538. echo.
  539. echo Press 2 to see saved research notes
  540. echo.
  541. echo Press 3 to return to main menu
  542. echo.
  543. choice /C 123
  544. if errorlevel 3 goto home
  545. if errorlevel 2 goto researchNotes
  546. if errorlevel 1 notepad.exe
  547.  
  548. :terminalSettings
  549. @echo off
  550. cls
  551. echo.
  552. echo Terminal Settings
  553. echo.
  554. echo.
  555. echo How should your name be displayed in menus?
  556. echo -----------------------------------------------
  557. echo.
  558. echo Press 1 for %siteRank% %lastName%
  559. echo Press 2 for %siteRank% %firstName% %lastName%
  560. echo Press 3 for %firstName% %lastName%
  561. echo Press 4 for %firstName% %lastName% - %siteRank%
  562. echo Press 5 for %lastName% - %siteRank%
  563. echo Press 6 for %siteRank% - %firstName% %lastName%
  564. echo Press 7 for %siteRank% - %lastName%
  565. echo -----------------------------------------------
  566. choice /C 1234567
  567. if errorlevel 7 goto home7
  568. if errorlevel 6 goto home6
  569. if errorlevel 5 goto home5
  570. if errorlevel 4 goto home4
  571. if errorlevel 3 goto home3
  572. if errorlevel 2 goto home2
  573. if errorlevel 1 goto home
  574. pause
  575.  
  576. :changePassword
  577. cls
  578. echo.
  579. echo Password changer
  580. echo.
  581. echo.
  582. echo Your current password is %password2%
  583. echo.
  584. echo.
  585. set /p password2= Please enter your new password:
  586. echo.
  587. echo Processing...
  588. echo.
  589. echo Password changed successfully
  590. echo.
  591. pause
  592. goto home
  593.  
  594. :changePassword2
  595. cls
  596. echo.
  597. echo Password changer
  598. echo.
  599. echo.
  600. echo Your current password is %password2%
  601. echo.
  602. echo.
  603. set /p password2= Please enter your new password:
  604. echo.
  605. echo Processing...
  606. echo.
  607. echo Password changed successfully
  608. echo.
  609. pause
  610. goto home2
  611.  
  612. :changePassword3
  613. cls
  614. echo.
  615. echo Password changer
  616. echo.
  617. echo.
  618. echo Your current password is %password2%
  619. echo.
  620. echo.
  621. set /p password2= Please enter your new password:
  622. echo.
  623. echo Processing...
  624. echo.
  625. echo Password changed successfully
  626. echo.
  627. pause
  628. goto home3
  629.  
  630. :changePassword4
  631. cls
  632. echo.
  633. echo Password changer
  634. echo.
  635. echo.
  636. echo Your current password is %password2%
  637. echo.
  638. echo.
  639. set /p password2= Please enter your new password:
  640. echo.
  641. echo Processing...
  642. echo.
  643. echo Password changed successfully
  644. echo.
  645. pause
  646. goto home4
  647.  
  648. :changePassword5
  649. cls
  650. echo.
  651. echo Password changer
  652. echo.
  653. echo.
  654. echo Your current password is %password2%
  655. echo.
  656. echo.
  657. set /p password2= Please enter your new password:
  658. echo.
  659. echo Processing...
  660. echo.
  661. echo Password changed successfully
  662. echo.
  663. pause
  664. goto home5
  665.  
  666. :changePassword6
  667. cls
  668. echo.
  669. echo Password changer
  670. echo.
  671. echo.
  672. echo Your current password is %password2%
  673. echo.
  674. echo.
  675. set /p password2= Please enter your new password:
  676. echo.
  677. echo Processing...
  678. echo.
  679. echo Password changed successfully
  680. echo.
  681. pause
  682. goto home6
  683.  
  684. :changePassword7
  685. cls
  686. echo.
  687. echo Password changer
  688. echo.
  689. echo.
  690. echo Your current password is %password2%
  691. echo.
  692. echo.
  693. set /p password2= Please enter your new password:
  694. echo.
  695. echo Processing...
  696. echo.
  697. echo Password changed successfully
  698. echo.
  699. pause
  700. goto home7
  701.  
  702. :home
  703. @echo off
  704. cls
  705. echo.
  706. echo --------------------------------------------------------------
  707. echo Logged into: Site-%userSite%, %userDepartment% Department server
  708. echo --------------------------------------------------------------
  709. echo Welcome, %siteRank% %lastName%, what would you like to do?
  710. echo --------------------------------------------------------------
  711. echo.
  712. echo Press 1 for viewing device documents
  713. echo.
  714. echo Press 2 to change your password
  715. echo.
  716. echo Press 3 to open device settings
  717. echo.
  718. echo Press 4 for device information
  719. echo.
  720. echo Press 5 to lock terminal
  721. echo.
  722. echo Press 6 to view your data
  723. echo.
  724. echo Press 7 to access Scientific Department tools
  725. echo.
  726. echo Press 8 to change session settings
  727. echo.
  728. echo Press 9 to exit this session
  729. echo --------------------------------------------------------------
  730. choice /C 123456789
  731. if errorlevel 9 exit
  732. if errorlevel 8 goto terminalSettings
  733. if errorlevel 7 goto scientificMenu
  734. if errorlevel 6 goto personnelDetails
  735. if errorlevel 5 goto authentication2
  736. if errorlevel 4 goto systeminformation
  737. if errorlevel 3 goto CommandNotConfigured
  738. if errorlevel 2 goto changePassword
  739. if errorlevel 1 goto Documents
  740.  
  741. :home2
  742. @echo off
  743. cls
  744. echo.
  745. echo --------------------------------------------------------------
  746. echo Logged into: Site-%userSite%, %userDepartment% Department server
  747. echo --------------------------------------------------------------
  748. echo Welcome, %siteRank% %firstName% %lastName%, what would you like to do?
  749. echo --------------------------------------------------------------
  750. echo.
  751. echo Press 1 for viewing device documents
  752. echo.
  753. echo Press 2 to change your password
  754. echo.
  755. echo Press 3 to open device settings
  756. echo.
  757. echo Press 4 for device information
  758. echo.
  759. echo Press 5 to lock terminal
  760. echo.
  761. echo Press 6 to view your data
  762. echo.
  763. echo Press 7 to access Scientific Department tools
  764. echo.
  765. echo Press 8 to change session settings
  766. echo.
  767. echo Press 9 to exit this session
  768. echo.
  769. echo Press 0 to change your password
  770. echo --------------------------------------------------------------
  771. choice /C 123456789
  772. if errorlevel 9 exit
  773. if errorlevel 8 goto terminalSettings
  774. if errorlevel 7 goto scientificMenu2
  775. if errorlevel 6 goto personnelDetails2
  776. if errorlevel 5 goto authentication2
  777. if errorlevel 4 goto systeminformation
  778. if errorlevel 3 goto CommandNotConfigured
  779. if errorlevel 2 goto changePassword2
  780. if errorlevel 1 goto Documents
  781.  
  782. :home3
  783. @echo off
  784. cls
  785. echo.
  786. echo --------------------------------------------------------------
  787. echo Logged into: Site-%userSite%, %userDepartment% Department server
  788. echo --------------------------------------------------------------
  789. echo Welcome, %firstName% %lastName%, what would you like to do?
  790. echo --------------------------------------------------------------
  791. echo.
  792. echo Press 1 for viewing device documents
  793. echo.
  794. echo Press 2 to change password
  795. echo.
  796. echo Press 3 to open device settings
  797. echo.
  798. echo Press 4 for device information
  799. echo.
  800. echo Press 5 to lock terminal
  801. echo.
  802. echo Press 6 to view your data
  803. echo.
  804. echo Press 7 to access Scientific Department tools
  805. echo.
  806. echo Press 8 to change session settings
  807. echo.
  808. echo Press 9 to exit this session
  809. echo --------------------------------------------------------------
  810. choice /C 123456789
  811. if errorlevel 9 exit
  812. if errorlevel 8 goto terminalSettings
  813. if errorlevel 7 goto scientificMenu3
  814. if errorlevel 6 goto personnelDetails3
  815. if errorlevel 5 goto authentication2
  816. if errorlevel 4 goto systeminformation
  817. if errorlevel 3 goto CommandNotConfigured
  818. if errorlevel 2 goto changePassword3
  819. if errorlevel 1 goto Documents
  820.  
  821. :home4
  822. @echo off
  823. cls
  824. echo.
  825. echo --------------------------------------------------------------
  826. echo Logged into: Site-%userSite%, %userDepartment% Department server
  827. echo --------------------------------------------------------------
  828. echo Welcome, %firstName% %lastName% - %siteRank%, what would you like to do?
  829. echo --------------------------------------------------------------
  830. echo.
  831. echo Press 1 for viewing device documents
  832. echo.
  833. echo Press 2 to change your password
  834. echo.
  835. echo Press 3 to open device settings
  836. echo.
  837. echo Press 4 for device information
  838. echo.
  839. echo Press 5 to lock terminal
  840. echo.
  841. echo Press 6 to view your data
  842. echo.
  843. echo Press 7 to access Scientific Department tools
  844. echo.
  845. echo Press 8 to change session settings
  846. echo.
  847. echo Press 9 to exit this session
  848. echo --------------------------------------------------------------
  849. choice /C 123456789
  850. if errorlevel 9 exit
  851. if errorlevel 8 goto terminalSettings
  852. if errorlevel 7 goto scientificMenu4
  853. if errorlevel 6 goto personnelDetails4
  854. if errorlevel 5 goto authentication2
  855. if errorlevel 4 goto systeminformation
  856. if errorlevel 3 goto CommandNotConfigured
  857. if errorlevel 2 goto changePassword4
  858. if errorlevel 1 goto Documents
  859.  
  860. :home5
  861. @echo off
  862. cls
  863. echo.
  864. echo --------------------------------------------------------------
  865. echo Logged into: Site-%userSite%, %userDepartment% Department server
  866. echo --------------------------------------------------------------
  867. echo Welcome, %lastName% - %siteRank%, what would you like to do?
  868. echo --------------------------------------------------------------
  869. echo.
  870. echo Press 1 for viewing device documents
  871. echo.
  872. echo Press 2 to change your password
  873. echo.
  874. echo Press 3 to open device settings
  875. echo.
  876. echo Press 4 for device information
  877. echo.
  878. echo Press 5 to lock terminal
  879. echo.
  880. echo Press 6 to view your data
  881. echo.
  882. echo Press 7 to access Scientific Department tools
  883. echo.
  884. echo Press 8 to change session settings
  885. echo.
  886. echo Press 9 to exit this session
  887. echo --------------------------------------------------------------
  888. choice /C 123456789
  889. if errorlevel 9 exit
  890. if errorlevel 8 goto terminalSettings
  891. if errorlevel 7 goto scientificMenu5
  892. if errorlevel 6 goto personnelDetails5
  893. if errorlevel 5 goto authentication2
  894. if errorlevel 4 goto systeminformation
  895. if errorlevel 3 goto CommandNotConfigured
  896. if errorlevel 2 goto changePassword5
  897. if errorlevel 1 goto Documents
  898.  
  899. :home6
  900. @echo off
  901. cls
  902. echo.
  903. echo --------------------------------------------------------------
  904. echo Logged into: Site-%userSite%, %userDepartment% Department server
  905. echo --------------------------------------------------------------
  906. echo Welcome, %siteRank% - %firstName% %lastName%, what would you like to do?
  907. echo --------------------------------------------------------------
  908. echo.
  909. echo Press 1 for viewing device documents
  910. echo.
  911. echo Press 2 to change your password
  912. echo.
  913. echo Press 3 to open device settings
  914. echo.
  915. echo Press 4 for device information
  916. echo.
  917. echo Press 5 to lock terminal
  918. echo.
  919. echo Press 6 to view your data
  920. echo.
  921. echo Press 7 to access Scientific Department tools
  922. echo.
  923. echo Press 8 to change session settings
  924. echo.
  925. echo Press 9 to exit this session
  926. echo --------------------------------------------------------------
  927. choice /C 123456789
  928. if errorlevel 9 exit
  929. if errorlevel 8 goto terminalSettings
  930. if errorlevel 7 goto scientificMenu6
  931. if errorlevel 6 goto personnelDetails6
  932. if errorlevel 5 goto authentication2
  933. if errorlevel 4 goto systeminformation
  934. if errorlevel 3 goto CommandNotConfigured
  935. if errorlevel 2 goto changePassword6
  936. if errorlevel 1 goto Documents
  937.  
  938. :home7
  939. @echo off
  940. cls
  941. echo.
  942. echo --------------------------------------------------------------
  943. echo Logged into: Site-%userSite%, %userDepartment% Department server
  944. echo --------------------------------------------------------------
  945. echo Welcome, %siteRank% - %lastName%, what would you like to do?
  946. echo --------------------------------------------------------------
  947. echo.
  948. echo Press 1 for viewing device documents
  949. echo.
  950. echo Press 2 to change your password
  951. echo.
  952. echo Press 3 to open device settings
  953. echo.
  954. echo Press 4 for device information
  955. echo.
  956. echo Press 5 to lock terminal
  957. echo.
  958. echo Press 6 to view your data
  959. echo.
  960. echo Press 7 to access Department tools
  961. echo.
  962. echo Press 8 to change session settings
  963. echo.
  964. echo Press 9 to exit this session
  965. echo --------------------------------------------------------------
  966. choice /C 123456789
  967. if errorlevel 9 exit
  968. if errorlevel 8 goto terminalSettings
  969. if errorlevel 7 goto scientificMenu7
  970. if errorlevel 6 goto personnelDetails7
  971. if errorlevel 5 goto authentication2
  972. if errorlevel 4 goto systeminformation
  973. if errorlevel 3 goto CommandNotConfigured
  974. if errorlevel 2 goto changePassword7
  975. if errorlevel 1 goto Documents
  976.  
  977. :End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement