Advertisement
Guest User

Osmium 64 v1.3.5

a guest
Oct 26th, 2017
666
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.03 KB | None | 0 0
  1. @echo off
  2. title Osmium 64
  3. mode 50,18
  4. color 0f
  5. set color=0f
  6. set theme=Original
  7. if exist Notepad (
  8. if exist Software (
  9. if exist Saves (
  10. cd Saves
  11. goto login
  12. ) else goto installer
  13. ) else goto installer
  14. ) else goto installer
  15. if exist proof.txt (
  16. cd Saves
  17. goto login
  18. ) else goto installer
  19.  
  20. :installer
  21. set loader=
  22. cls
  23. echo.
  24. echo System Installer
  25. echo.
  26. echo With your premission, Osmium 64 will create 4
  27. echo folders and 1 file necessary for the OS to run.
  28. echo These will be created in the same folder that
  29. echo Osmium 64 is in.
  30. echo.
  31. choice /c:yn /n /m "Permission? (Y/N) "
  32. if "%errorlevel%" =="2" exit
  33. if "%errorlevel%" =="1" (
  34. mkdir "Osmium 64"
  35. )
  36. :bypass
  37. cd Osmium 64
  38. if not exist Saves mkdir Saves
  39. if not exist Notepad mkdir Notepad
  40. if not exist Software mkdir Software
  41. if not exist proof.txt (echo.) > proof.txt
  42. cls
  43. echo.
  44. echo System Installer
  45. echo.
  46. if exist "Osmium 64" echo Installation complete! Please move the Osmium 64 program into the Osmium 64 folder to finalize.
  47. echo.
  48. echo [PRESS ANY KEY]
  49. pause >nul
  50. exit
  51. )
  52.  
  53. :login
  54. mode 50,25
  55. cd ..
  56. cd Saves
  57. color 0f
  58. set rem=
  59. set remdate=
  60. set user=
  61. set password=
  62. set color=0f
  63. set u=
  64. cls
  65. echo.
  66. echo Login
  67. echo.
  68. echo G] Log in as guest
  69. echo H] Help
  70. echo X] Exit
  71. echo.
  72. echo --Saves--
  73. dir /b
  74. echo.
  75. set /p u="Enter your username: "
  76. if not defined u goto login
  77. if /i "%u%" =="H" goto help
  78. if /i "%u%" =="G" (
  79. set user=Guest User
  80. set password=
  81. goto deskm
  82. )
  83. if /i "%u%" =="X" exit
  84. if not exist "%u%" (
  85. goto logincreate
  86. ) else goto logincontinue
  87. :logincreate
  88. echo.
  89. echo This user does not exist.
  90. echo.
  91. choice /c:yn /n /m "Create one? (Y/N) "
  92. if "%errorlevel%" =="2" goto login
  93. if "%errorlevel%" =="1" goto create
  94. goto login
  95. :logincontinue
  96. cd "%u%"
  97. < info.sav (
  98. set /p user=
  99. set /p password=
  100. set /p color=
  101. set /p theme=
  102. )
  103. < reminder.sav (
  104. set /p rem=
  105. set /p remdate=
  106. )
  107. cd ..
  108. if /i "%u%" =="%user%" goto enterpass
  109. goto login
  110.  
  111. :help
  112. mode 50,27
  113. cls
  114. echo.
  115. echo Help
  116. echo.
  117. echo Most of the Osmium 64 user interface is
  118. echo "instant response", which means that as soon as
  119. echo you press a valid key, the action happens. When
  120. echo you can type multiple characters in the same
  121. echo input, that means that it is a "delayed
  122. echo response". This means that you just have to hit
  123. echo ENTER in order for the action to carry out.
  124. echo.
  125. echo When in an "instant
  126. echo response" type menu, pressing an invalid key
  127. echo will result in a sharp tone. A fire alarm is
  128. echo more piercing, so there is little reason to
  129. echo thoughtfully mistake it for that.
  130. echo.
  131. echo Whenever you press a valid key in an "instant
  132. echo response" menu and it responds with text at the
  133. echo bottom of the screen, simply press any key to
  134. echo continue. (Although that is evident to some, I
  135. echo must make this program easy to use for all.)
  136. echo.
  137. echo [PRESS ANY KEY]
  138. pause >nul
  139. goto login
  140.  
  141. :create
  142. mode 50,18
  143. cd ..
  144. cd Saves
  145. set user=
  146. cls
  147. echo.
  148. echo B] Go back
  149. echo.
  150. echo Create User
  151. echo.
  152. set /p user="Enter a username: "
  153. if not defined user goto create
  154. if /i "%user%" =="B" (
  155. set user=
  156. goto login
  157. )
  158. if /i "%user%" =="Guest User" (
  159. echo.
  160. echo This username is prohibited
  161. pause >nul
  162. goto create
  163. )
  164. if /i "%user%" =="C" (
  165. echo.
  166. echo This username is prohibited
  167. pause >nul
  168. goto create
  169. )
  170. if /i "%user%" =="G" (
  171. echo.
  172. echo This username is prohibited
  173. pause >nul
  174. goto create
  175. )
  176. if /i "%user%" =="X" (
  177. echo.
  178. echo This username is prohibited
  179. pause >nul
  180. goto create
  181. )
  182. if /i "%user%" =="H" (
  183. echo.
  184. echo This username is prohibited
  185. pause >nul
  186. goto create
  187. )
  188. if exist "%user%" (
  189. echo.
  190. echo This user already exists
  191. pause >nul
  192. goto create
  193. )
  194. :cpass
  195. set password=
  196. cls
  197. echo.
  198. echo Create Password
  199. echo.
  200. set /p password="Enter a secure password: "
  201. if not defined password goto cpass
  202. goto deskm
  203.  
  204. :enterpass
  205. set enter=
  206. if not defined password goto deskm
  207. cls
  208. echo.
  209. echo Enter Password
  210. echo.
  211. set /p enter="Enter your password: "
  212. if not defined enter goto enterpass
  213. if "%enter%" =="%password%" goto deskm
  214. echo.
  215. echo Incorrect
  216. echo [PRESS ANY KEY]
  217. pause >nul
  218. goto login
  219.  
  220. :deskm
  221. mode 50,18
  222. :desk
  223. color %color%
  224. cls
  225. echo.
  226. echo Logged in as %user%
  227. echo.
  228. if /i "%remdate%" =="%date%" (
  229. echo Today's Reminder: %rem%
  230. ) else echo Today's Reminder: NONE
  231. echo %date% - %time%
  232. echo.
  233. echo i] System Information
  234. echo P] Programs
  235. echo S] Settings
  236. echo X] Log out
  237. echo.
  238. choice /c:isxp /n
  239. if "%errorlevel%" =="4" goto programs
  240. if "%errorlevel%" =="3" (
  241. if "%user%" =="Guest User" goto login
  242. cd ..
  243. cd Saves
  244. if not exist "%user%" mkdir "%user%"
  245. cd %user%
  246. (
  247. echo %user%
  248. if defined password echo %password%
  249. if not defined password echo.
  250. echo %color%
  251. echo %theme%
  252. ) > info.sav
  253. (
  254. if defined rem echo %rem%
  255. if not defined rem echo.
  256. if defined remdate echo %remdate%
  257. if not defined remdate echo.
  258. ) > reminder.sav
  259. goto login
  260. )
  261. if "%errorlevel%" =="2" goto settings
  262. if "%errorlevel%" =="1" goto info
  263. goto desk
  264.  
  265. :info
  266. mode 50,40
  267. cls
  268. echo.
  269. echo Osmium 64
  270. echo Version: 1.3.5
  271. echo.
  272. echo Username: %user%
  273. echo Current color theme: %theme%
  274. echo.
  275. echo Version Log
  276. echo.
  277. echo 1.3.5 Released - 10/26/2017
  278. echo -Cleaned up all menus
  279. echo -Added autosave
  280. echo.
  281. echo 1.3.4 Released - 10/18/2017
  282. echo -Added some wiggle room in the software and
  283. echo login menus
  284. echo.
  285. echo 1.3.3 Released - 10/18/2017
  286. echo -Added help in login menu
  287. echo -Minor changes in software and menus
  288. echo.
  289. echo 1.3.2 Released - 10/16/2017
  290. echo -Small text change in memory wipe menu
  291. echo.
  292. echo 1.3.1 Released - 10/14/2017
  293. echo -Lots of bug-fixes
  294. echo -Cleaned up color menu again
  295. echo.
  296. echo 1.3 Released - 10/13/2017
  297. echo -Added reminder widget in home screen
  298. echo -Added option to disable password
  299. echo -Added guest user
  300. echo -Added ability to wipe user memory
  301. echo -Added internet shortcuts
  302. echo -Added installer
  303. echo -Removed unit charts
  304. echo ...
  305. echo.
  306. echo [PRESS ANY KEY]
  307. pause >nul
  308. cls
  309. echo.
  310. echo ...
  311. echo -Removed secret menu
  312. echo -Removed date/time menus
  313. echo -Cleaned up stopwatch
  314. echo -Cleaned up Notepad
  315. echo -Cleaned up user profile management
  316. echo -Cleaned up color setting
  317. echo -Cleaned up glitchy usernames
  318. echo -States which user is logged on
  319. echo.
  320. echo 1.2.9 Released - 10/6/2017
  321. echo -Minor changes regarding spaces
  322. echo -Note: Unit references incomplete
  323. echo.
  324. echo 1.2 Released - 9/22/2017
  325. echo -Added secret menu (HINT: KONAMI)
  326. echo -Note: Unit references incomplete
  327. echo.
  328. echo 1.1 Released - 8/22/2017
  329. echo -Menu aesthetics changed
  330. echo -Menu input systems now allow for faster work
  331. echo -Fixed bugs
  332. echo -Note: Unit references incomplete
  333. echo.
  334. echo 1.0 Released - 7/27/2017
  335. echo -Note: Unit references incomplete
  336. echo.
  337. echo [PRESS ANY KEY]
  338. pause >nul
  339. goto deskm
  340.  
  341. :settings
  342. cls
  343. echo.
  344. echo Settings
  345. echo.
  346. echo C] Themes
  347. echo P] Password Protection
  348. echo U] Change Username
  349. echo W] Wipe Memory
  350. echo B] Go back
  351. echo.
  352. choice /c:cpubw /n
  353. if "%errorlevel%" =="5" (
  354. if "%user%" =="Guest User" (
  355. echo.
  356. echo This feature is locked when logged in as Guest.
  357. echo [PRESS ANY KEY]
  358. pause >nul
  359. goto settings
  360. )
  361. goto wipe
  362. )
  363. if "%errorlevel%" =="4" goto deskm
  364. if "%errorlevel%" =="3" (
  365. if "%user%" =="Guest User" (
  366. echo.
  367. echo This feature is locked when logged in as Guest.
  368. echo [PRESS ANY KEY]
  369. pause >nul
  370. goto settings
  371. )
  372. goto rename
  373. )
  374. if "%errorlevel%" =="2" (
  375. if "%user%" =="Guest User" (
  376. echo.
  377. echo This feature is locked when logged in as Guest.
  378. echo [PRESS ANY KEY]
  379. pause >nul
  380. goto settings
  381. )
  382. goto modp
  383. )
  384. if "%errorlevel%" =="1" goto colorthemes
  385. goto settings
  386.  
  387. :wipe
  388. cd ..
  389. cd Saves
  390. cls
  391. echo.
  392. echo Wipe Memory
  393. echo.
  394. echo D] Delete your user profile
  395. echo R] Clear reminders
  396. echo B] Go back
  397. echo.
  398. choice /c:drb /n
  399. if "%errorlevel%" =="3" goto settings
  400. if "%errorlevel%" =="2" goto delrem
  401. if "%errorlevel%" =="1" goto deluser
  402. goto wipe
  403.  
  404. :deluser
  405. if not exist "%user%" goto delusererror
  406. if not defined password (
  407. rd /s /q "%user%"
  408. echo.
  409. echo Profile deleted
  410. pause >nul
  411. goto login
  412. )
  413. cd ..
  414. cd Saves
  415. set deluser=
  416. cls
  417. echo.
  418. echo Delete User Profile
  419. echo.
  420. echo B] Go back
  421. echo.
  422. echo Enter your password to delete %user%
  423. echo.
  424. set /p deluser=">"
  425. if not defined deluser goto deluser
  426. if /i "%deluser%" =="B" goto wipe
  427. if not "%deluser%" =="%password%" (
  428. echo.
  429. echo Incorrect password
  430. pause >nul
  431. goto deluser
  432. )
  433. rd /s /q "%user%"
  434. echo.
  435. echo Profile deleted
  436. pause >nul
  437. goto login
  438.  
  439. :delusererror
  440. cls
  441. echo.
  442. echo Delete User Profile
  443. echo.
  444. echo ERROR
  445. echo.
  446. echo There is no profile to delete. First, you must
  447. echo create a save. (See Settings)
  448. echo.
  449. echo [PRESS ANY KEY]
  450. pause >nul
  451. goto wipe
  452.  
  453. :delrem
  454. if not defined password (
  455. set remdate=
  456. set rem=
  457. if exist "%user%" (
  458. cd %user%
  459. (echo.) > reminder.sav
  460. )
  461. echo.
  462. echo Deleted
  463. pause >nul
  464. goto wipe
  465. )
  466. cd ..
  467. cd Saves
  468. set delrem=
  469. cls
  470. echo.
  471. echo Clear Reminders
  472. echo.
  473. echo B] Go back
  474. echo.
  475. set /p delrem="Enter your password: "
  476. if not defined delrem goto delrem
  477. if /i "%delrem%" =="B" goto wipe
  478. if not "%delrem%" =="%password%" (
  479. echo.
  480. echo Incorrect password
  481. pause >nul
  482. goto delrem
  483. )
  484. set remdate=
  485. set rem=
  486. if exist "%user%" (
  487. cd %user%
  488. (echo.) > reminder.sav
  489. )
  490. echo.
  491. echo Deleted
  492. pause >nul
  493. goto wipe
  494.  
  495. :rename
  496. cd ..
  497. cd Saves
  498. cls
  499. echo.
  500. echo Change Username (Current Username: %user%)
  501. echo.
  502. echo B] Go back
  503. echo.
  504. set /p u=">"
  505. if not defined u goto rename
  506. if /i "%u%" =="B" goto settings
  507. if /i "%user%" =="Guest User" (
  508. echo.
  509. echo This username is prohibited
  510. pause >nul
  511. goto create
  512. )
  513. if /i "%user%" =="C" (
  514. echo.
  515. echo This username is prohibited
  516. pause >nul
  517. goto create
  518. )
  519. if /i "%user%" =="G" (
  520. echo.
  521. echo This username is prohibited
  522. pause >nul
  523. goto create
  524. )
  525. if /i "%user%" =="X" (
  526. echo.
  527. echo This username is prohibited
  528. pause >nul
  529. goto create
  530. )
  531. if /i "%user%" =="H" (
  532. echo.
  533. echo This username is prohibited
  534. pause >nul
  535. goto create
  536. )
  537. if exist "%u%" (
  538. echo.
  539. echo This username is already in use
  540. pause >nul
  541. goto rename
  542. )
  543. set user=%u%
  544. cd ..
  545. cd Saves
  546. if not exist "%user%" mkdir "%user%"
  547. cd %user%
  548. (
  549. echo %user%
  550. if defined password echo %password%
  551. if not defined password echo.
  552. echo %color%
  553. echo %theme%
  554. ) > info.sav
  555. (
  556. if defined rem echo %rem%
  557. if not defined rem echo.
  558. if defined remdate echo %remdate%
  559. if not defined remdate echo.
  560. ) > reminder.sav
  561. goto settings
  562.  
  563. :colorthemes
  564. color %color%
  565. cd ..
  566. cd Saves
  567. if not exist "%user%" mkdir "%user%"
  568. cd %user%
  569. (
  570. echo %user%
  571. if defined password echo %password%
  572. if not defined password echo.
  573. echo %color%
  574. echo %theme%
  575. ) > info.sav
  576. (
  577. if defined rem echo %rem%
  578. if not defined rem echo.
  579. if defined remdate echo %remdate%
  580. if not defined remdate echo.
  581. ) > reminder.sav
  582. cls
  583. echo.
  584. echo Themes
  585. echo.
  586. echo B] Go back ^| R] Reset color
  587. echo.
  588. echo A] Autumn ^| C] Commodore
  589. echo J] Jungle ^| K] Blue Sky
  590. echo S] Sparks ^| M] Matrix
  591. echo N] Sunset ^| V] Violets
  592. echo D] Candy ^| E] Error
  593. echo O] Ocean ^|
  594. echo.
  595. choice /c:ajsnckmvbrdeo /n
  596. if "%errorlevel%" =="13" (
  597. set color=09
  598. set colortheme=Ocean
  599. )
  600. if "%errorlevel%" =="12" (
  601. set color=cf
  602. set theme=Error
  603. )
  604. if "%errorlevel%" =="11" (
  605. set color=bc
  606. set theme=Candy
  607. )
  608. if "%errorlevel%" =="10" (
  609. set color=0f
  610. set theme=Original
  611. )
  612. if "%errorlevel%" =="9" goto settings
  613. if "%errorlevel%" =="8" (
  614. set color=5a
  615. set theme=Violets
  616. )
  617. if "%errorlevel%" =="7" (
  618. set color=0a
  619. set theme=Matrix
  620. )
  621. if "%errorlevel%" =="6" (
  622. set color=f9
  623. set theme=Blue Sky
  624. )
  625. if "%errorlevel%" =="5" (
  626. set color=1f
  627. set theme=Commodore
  628. )
  629. if "%errorlevel%" =="4" (
  630. set color=ce
  631. set theme=Sunset
  632. )
  633. if "%errorlevel%" =="3" (
  634. set color=0e
  635. set theme=Sparks
  636. )
  637. if "%errorlevel%" =="2" (
  638. set color=2e
  639. set theme=Jungle
  640. )
  641. if "%errorlevel%" =="1" (
  642. set color=ec
  643. set theme=Autumn
  644. )
  645. goto colorthemes
  646.  
  647. :modp
  648. if not defined password goto modpn
  649. cls
  650. echo.
  651. echo Password Protection
  652. echo.
  653. echo P] Change Password
  654. echo D] Disable Password
  655. echo B] Go back
  656. echo.
  657. choice /c:pbd /n
  658. if "%errorlevel%" =="3" goto disable
  659. if "%errorlevel%" =="2" goto settings
  660. if "%errorlevel%" =="1" goto modpc
  661. goto modp
  662.  
  663. :modpn
  664. if defined password goto modp
  665. cls
  666. echo.
  667. echo Password Protection
  668. echo.
  669. echo D] Enable Password
  670. echo B] Go back
  671. echo.
  672. choice /c:db /n
  673. if "%errorlevel%" =="2" goto settings
  674. if "%errorlevel%" =="1" goto cpassdesk
  675. goto modpn
  676.  
  677. :cpassdesk
  678. set password=
  679. cls
  680. echo.
  681. echo Create Password
  682. echo.
  683. set /p password="Enter a secure password: "
  684. if not defined password goto cpassdesk
  685. cd ..
  686. cd Saves
  687. if not exist "%user%" mkdir "%user%"
  688. cd %user%
  689. (
  690. echo %user%
  691. if defined password echo %password%
  692. if not defined password echo.
  693. echo %color%
  694. echo %theme%
  695. ) > info.sav
  696. (
  697. if defined rem echo %rem%
  698. if not defined rem echo.
  699. if defined remdate echo %remdate%
  700. if not defined remdate echo.
  701. ) > reminder.sav
  702. goto modp
  703.  
  704. :disable
  705. set dis=
  706. cls
  707. echo.
  708. echo Disable Password
  709. echo.
  710. echo B] Go back
  711. echo.
  712. set /p dis="Password: "
  713. if not defined dis goto disable
  714. if /i "%dis%" =="B" goto modp
  715. if "%dis%" =="%password%" (
  716. set password=
  717. cd ..
  718. cd Saves
  719. if not exist "%user%" mkdir "%user%"
  720. cd %user%
  721. (
  722. echo %user%
  723. if defined password echo %password%
  724. if not defined password echo.
  725. echo %color%
  726. echo %theme%
  727. ) > info.sav
  728. (
  729. if defined rem echo %rem%
  730. if not defined rem echo.
  731. if defined remdate echo %remdate%
  732. if not defined remdate echo.
  733. ) > reminder.sav
  734. goto modpn
  735. )
  736. echo.
  737. echo Incorrect password
  738. echo [PRESS ANY KEY]
  739. pause >nul
  740. goto disable
  741. )
  742. goto modn
  743.  
  744. :modpc
  745. set temp=
  746. set tempc=
  747. cls
  748. set /p temp="Enter your password: "
  749. if not defined temp goto modpc
  750. if not "%temp%" =="%password%" (
  751. echo Incorrect password.
  752. pause >nul
  753. goto modp
  754. )
  755. :tempc
  756. set tempc=
  757. cls
  758. set /p tempc="Enter your new password: "
  759. if not defined tempc goto tempc
  760. set password=%tempc%
  761. cd ..
  762. cd Saves
  763. if not exist "%user%" mkdir "%user%"
  764. cd %user%
  765. (
  766. echo %user%
  767. if defined password echo %password%
  768. if not defined password echo.
  769. echo %color%
  770. echo %theme%
  771. ) > info.sav
  772. (
  773. if defined rem echo %rem%
  774. if not defined rem echo.
  775. if defined remdate echo %remdate%
  776. if not defined remdate echo.
  777. ) > reminder.sav
  778. goto settings
  779.  
  780. :programs
  781. cls
  782. echo.
  783. echo Programs
  784. echo.
  785. echo U] Utilities
  786. echo S] Software
  787. echo N] Notepad
  788. echo B] Go back
  789. echo.
  790. choice /c:usnb /n
  791. if "%errorlevel%" =="4" goto deskm
  792. if "%errorlevel%" =="3" goto name
  793. if "%errorlevel%" =="2" goto sware
  794. if "%errorlevel%" =="1" goto utilities
  795. goto programs
  796.  
  797.  
  798. :utilities
  799. set stopwatch=0
  800. cls
  801. echo.
  802. echo Utilities
  803. echo.
  804. echo X] Calculator ^| S] Stopwatch
  805. echo R] Reminders ^| I] Internet Shortcuts
  806. echo B] Go back
  807. echo.
  808. choice /c:xrsbi /n
  809. if "%errorlevel%" =="5" goto internet
  810. if "%errorlevel%" =="4" goto programs
  811. if "%errorlevel%" =="3" goto stopwatch
  812. if "%errorlevel%" =="2" goto reminder
  813. if "%errorlevel%" =="1" goto calc
  814. goto utilities
  815.  
  816. :calc
  817. set prob=
  818. set sol=
  819. cls
  820. echo.
  821. echo Calculator
  822. echo.
  823. echo + Addition ^| - Subtraction
  824. echo * Multiplication ^| / Division
  825. echo.
  826. echo B] Go back
  827. echo.
  828. set /p prob=">"
  829. if /i "%prob%" =="B" goto utilities
  830. set /a sol=%prob%
  831. echo %prob% = %sol%
  832. echo [PRESS ANY KEY]
  833. pause >nul
  834. goto calc
  835.  
  836. :reminder
  837. if "%user%" =="Guest User" (
  838. echo.
  839. echo This feature is locked when logged in as Guest.
  840. echo [PRESS ANY KEY]
  841. pause >nul
  842. goto utilities
  843. )
  844. cd ..
  845. cd Saves
  846. if not exist "%user%" mkdir "%user%"
  847. cd %user%
  848. (
  849. echo %user%
  850. if defined password echo %password%
  851. if not defined password echo.
  852. echo %color%
  853. echo %theme%
  854. ) > info.sav
  855. (
  856. if defined rem echo %rem%
  857. if not defined rem echo.
  858. if defined remdate echo %remdate%
  859. if not defined remdate echo.
  860. ) > reminder.sav
  861. set reminput=
  862. set remdateinput=
  863. cls
  864. echo.
  865. echo Reminders - You can ONLY have ONE at a time!
  866. echo.
  867. echo B] Go back
  868. echo.
  869. if /i "%remdate%" =="%date%" (
  870. echo Today's Reminder: %rem%
  871. ) else echo Today's Reminder: NONE
  872. echo.
  873. set /p reminput="Type a reminder here: "
  874. if not defined reminput goto reminder
  875. if /i "%reminput%" =="B" goto utilities
  876. set rem=%reminput%
  877. echo.
  878. echo Example: %date%
  879. set /p remdateinput="Set a date for that: "
  880. if not defined remdateinput goto reminder
  881. if /i "%remdateinput%" =="B" goto reminder
  882. set remdate=%remdateinput%
  883. goto reminder
  884.  
  885. :stopwatch
  886. cls
  887. echo.
  888. echo Stopwatch
  889. echo.
  890. echo S] Start %stopwatch%
  891. echo R] Reset
  892. echo B] Go back
  893. echo.
  894. choice /c:sbr /n
  895. if "%errorlevel%" =="3" set stopwatch=0
  896. if "%errorlevel%" =="2" goto utilities
  897. if "%errorlevel%" =="1" goto startstpwch
  898. goto stopwatch
  899.  
  900. :startstpwch
  901. set /a stopwatch=%stopwatch% + 1
  902. cls
  903. echo.
  904. echo Stopwatch
  905. echo.
  906. echo X] Stop %stopwatch%
  907. echo R] Reset
  908. echo B] Go back
  909. echo.
  910. choice /c bxcr /n /t 1 /d c
  911. if "%errorlevel%" =="4" set stopwatch=0
  912. if "%errorlevel%" =="3" goto startstpwch
  913. if "%errorlevel%" =="2" goto stopwatch
  914. if "%errorlevel%" =="1" goto utilities
  915. goto startstpwch
  916.  
  917. :internet
  918. cls
  919. echo.
  920. echo Internet Shortcuts
  921. echo.
  922. echo B] Go back
  923. echo.
  924. echo O] Osmium Programming Group
  925. echo Y] YouTube
  926. echo G] Google
  927. echo M] Gmail
  928. echo N] Notepad ++
  929. echo.
  930. choice /c:oygmnb /n
  931. if "%errorlevel%" =="6" goto utilities
  932. if "%errorlevel%" =="5" start https://notepad-plus-plus.org/
  933. if "%errorlevel%" =="4" start https://mail.google.com
  934. if "%errorlevel%" =="3" start https://www.google.com/
  935. if "%errorlevel%" =="2" start https://www.youtube.com/
  936. if "%errorlevel%" =="1" start https://osmiumcorp.wordpress.com/
  937. goto internet
  938.  
  939. :sware
  940. mode 50,25
  941. cd ..
  942. cd Software
  943. set swr=
  944. cls
  945. echo.
  946. echo Software
  947. echo.
  948. echo H] Help
  949. echo B] Go back
  950. echo.
  951. echo --Programs--
  952. dir /b
  953. echo.
  954. set /p swr="Enter a program to run: "
  955. if not defined swr goto sware
  956. if /i "%swr%" =="B" (
  957. mode 50,18
  958. goto programs
  959. )
  960. if /i "%swr%" =="H" goto helpsware
  961. if exist "%swr%" (
  962. call %swr%
  963. mode 50,18
  964. color %color%
  965. title Osmium 64
  966. cd ..
  967. cd Saves
  968. goto sware
  969. )
  970. echo.
  971. echo This file does not exist
  972. echo [PRESS ANY KEY]
  973. pause >nul
  974. goto sware
  975.  
  976. :helpsware
  977. cls
  978. echo.
  979. echo Help
  980. echo.
  981. echo Software
  982. echo.
  983. echo To add software to the list below, install some
  984. echo BATCH programs (links found at Osmium
  985. echo Programming Group website) and move them into
  986. echo the "Software" folder found inside the "Osmium
  987. echo 64" folder.
  988. echo.
  989. echo [PRESS ANY KEY]
  990. pause >nul
  991. goto sware
  992.  
  993. :name
  994. cd ..
  995. cd Notepad
  996. set name=
  997. cls
  998. echo.
  999. echo Notepad
  1000. echo.
  1001. echo B] Go back
  1002. echo.
  1003. set /p name="Enter your file name: "
  1004. if not defined name goto name
  1005. if /i "%name%" =="B" goto deskm
  1006. (
  1007. echo %date%
  1008. echo.
  1009. ) > "%name%".txt
  1010. goto edit
  1011.  
  1012. :edit
  1013. mode 50,30
  1014. set txt=
  1015. cls
  1016. echo.
  1017. echo Notepad - Type Z to create a new file.
  1018. echo.
  1019. echo B] Go back
  1020. echo.
  1021. echo You are editing %name%.txt
  1022. echo.
  1023. < "%name%".txt (
  1024. set /p a=
  1025. set /p b=
  1026. set /p spec=
  1027. )
  1028. if defined spec type "%name%".txt
  1029. set /p txt=
  1030. if not defined txt goto edit
  1031. if /i "%txt%" =="Z" (
  1032. < "%name%".txt (
  1033. set /p a=
  1034. set /p b=
  1035. set /p spec=
  1036. )
  1037. if not defined spec del /q "%name%".txt
  1038. goto name
  1039. )
  1040. if /i "%txt%" =="B" (
  1041. < "%name%".txt (
  1042. set /p a=
  1043. set /p b=
  1044. set /p spec=
  1045. )
  1046. if not defined spec del /q "%name%".txt
  1047. goto deskm
  1048. )
  1049. (echo %txt%) >> "%name%".txt
  1050. goto edit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement