GithubHelp home page GithubHelp logo

windows-command-prompt's Introduction

Windows-Command-Prompt

Useful Commands

CD

cd.. cd....

cd ' next directory name'

cd 'directory''next directory'
#cd Moondra\documents

DIR

dir #dir of current directory

dir /a #hidden directory

dir /ad # output all subfolders within directory

dir *.txt # output all text files within directory

dir *.pgn #all png files within directory

dir /s *.png #all png files located within system

dir /s *.png |more #all png files located within system displayed page by page (use spacebar to go to next page)

dir /s biotech.text #searches for biotech.txt within system (once found copy outputted dir and cd into it)

Output

dir > hello.txt (output comannd dir's output into hello.txt echo "hello there" > hello.txt (write "hello there" to hello.txt) type hello.txt (print out hello.txt contents in command line)

type biotech.text > hello.txt (copy the contents of biotech.text > hello.txt)

Open Files

notepad dir.txt (use notepad to open dir.txt)

dir.txt (dir.txt opened by default program)

EXEL.png (image file opened by default program)

mspaint

calc

Make and delete directories

mkdir test_folder

rmdir test_folder

mkdir apple\apple2 (make a directory with subdirectory)

rmdir /s apple (remove directory with subdirectory)

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.