Giter Club home page Giter Club logo

batchos's Introduction

BatchOS

I found this while cleaning out some ancient Dropbox account. It's a 13k lines batch file "compiled" with some weird niche software that emulates a unix-like "operating system" (a few commands on a CLI shell).

I wrote this back in 2016 while bored as shit in some high school classroom.

It has some interestingly horrible features like storing passwords in cleartext in %APPDATA% and an ftp-based package manager - which sadly doesn't work anymore as the infrastructure powering it died a long time ago.

Starting up.

The boot log at the start might remind you of something. It's actually from the Hacknet hacker-simulation video game that came out just the year before, in 2015.

IDENTIFY YOURSELF, PROGRAM.

For some reason the color display is broken on my modern, high-DPI laptop. The script renders on a 25x80 surface.

The prompt. B:)

The main prompt screen, right after login. The script creates a unix-like root directory structure at %APPDATA%\BatchOS and mounts it to a B: drive using subst, so the path on the prompt is actually the real cwd of the script.

Notice how the prompt ends with a right parenthesis ) instead of the habitual chevron >. I suspect this is because running echo $pwd$> will understand > as an stdout redirection, and I wasn't smart enough to put it inside double quotes.

The BPM package manager's help section.

Here you can see the help page for bpm, the integrated package manager. Unfortunately the http://batchos.run page hasn't been archived by the Wayback Machine... It was a PHPbb board where anybody could submit programs to be available through BPM.

I don't think anyone ever did ๐Ÿ˜…

batchos's People

Contributors

gitsquared avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.