Git Product home page Git Product logo

dosbash's Introduction

dosbash

NOTE: Deprecated for GNU W32 Utils. See http://gnuwin32.sourceforge.net/packages/coreutils.htm

Simple DOS batch files that provide basic 'work-alike' compatibility for common bash shell commands.

These are NOT a shell, just a simple way to deal with me absent-mindedly typing "ls" when I mean "dir"-- sort of a do-what I meant.

Commands cover just a few basic and don't provide a lot of switches. Commands supported include:

  • cat- works like DOS "type" command using cat.bat to send text file to console
  • cp- works like DOS "xcopy" command by calling cp.bat [Note: xcopy supports recursive copying, unlike DOS copy command.]
  • edit- my own crutch here: this opens the specified file with the Notepad++ application
  • env- works like DOS "set" command with no arguments specified, and will display current environment variables
  • ls- works like DOS "dir" command, plus one extended switch "ls -Fsal" spills all the "dir" dirt
  • man- works like DOS "help" command using man.bat to display help for the specified command
  • mv- works like DOS "move" command using mv.bat to move a file
  • npp- my own crutch here: this opens the specified file with the Notepad++ application
  • open- works like DOS "start" command to open specified file with associated app (or 'explore' a directory)
  • pwd- works like DOS "cd" command with no arguments and will display the current directory path
  • rm- works like DOS "del" command to delete the specified file(s)

Install

Clone repository and place in DOS PATH or add it it to PATH.

Usage

(Mis) type one of the listed bash shell commands at the DOS prompt- voila, what you meant to do typically results, with the exception of most command switches.

Requirements/Compatibility

Tested with Windows 7 SP1 64-bit command prompt/shell.

License

MIT License - http://www.opensource.org/licenses/mit-license.php

dosbash's People

Contributors

mobilemind avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.