DOS and the Command Line CS 21a: Introduction to Computing I First Semester, 2013-2014.

Slides:



Advertisements
Similar presentations
Introduction to Java 2 Programming Lecture 4 Writing Java Applications, Java Development Tools.
Advertisements

Introduction to Java 2 Programming Lecture 3 Writing Java Applications, Java Development Tools.
COP 3530 JDK Environment Variables. COP 3530 JDK Environment Variables Environment Variables Environment variables are a set of dynamic values that can.
DOS & Windows O/s Prof. Sujata Rao Less 5.
A batch file is a file that contains a number of DOS commands, each of which could be run individually from the command prompt. By putting them into a.
Macintosh OS X. What is an operating system? O Like cars, computers have operating systems (sometimes abbreviated OS). O A computer operating system is.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
Introduction to Java IEEM241 Routing and Fleet Management Feb 3, 2005.
1 Introduction to Java and Applet. 2 Download Java Compiler (1)
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Microprocessor Simulation
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Command Console Tutorial BCIS 3680 Enterprise Programming.
Operating System Fundamentals
COMPILING JAVA PROGRAM USING JDK COMMAND LINE WINDOWS PLATFORM.
SERVLETS.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Networking Can you find it? Apps.
PC Maintenance: Preparing for A+ Certification Chapter 29: Managing Files.
DOS Understanding what you can do. Operating System Traits An OS only works with one type of processor –X86 processors for us; Motorola for Mac –Must.
Chapter Five Maintaining a Computer Part III: File and Folder Management.
DOS Commands What is a command Types of DOS Commands Basic Terms
Several Ways to Print in Windows 98 by Ralph Godinez.
The Command Line Interface. The OS files IO.sys MSDOS.sys Command.com IO and MSDOS are hidden files, COMMAND.COM shows in directory listings.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Information Security 493. Lab 11.3: Encrypt a Windows File Windows operating systems since Windows 2000 have included the ability to encrypt files. Follow.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
How to Tag a Corpus Using Stanford Tagger. Accuracy All tokens: 97.32% Unknown words: 90.79%
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
CPSC1301 Computer Science 1 Overview of Dr. Java.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.
Windows Listening Guide.  The software that manages the sharing of the resources of a computer. The overall function of the computer.  MASTER CONTROLLER.
3/5/2002e-business and Information Systems1 Install Java JDK/SDK Download JDK 1.3 or higher Install JDK Set search PATH for Operating System Set CLASSPATH.
Basic MS-DOS. History MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 All versions of windows.
DOS and the Command Line CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
1.  Microsoft DOS (Disk Operating System) use a command line user interface.command line  A command line user interface means that the user is required.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Windows Top 10 Time Savers! Pickens Technical College Business Department.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Lab 0 / Chapter 0 Windows XP Environment. 2 User Interfaces: A different perspective.
Files, User Interfaces, and the OS Files: programs (.exe); data (.jpg,.html,.doc, etc.) User Interface: used to run programs and manage files and folders.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Operating Systems Written by: Tim Keyser Georgia CTAE Resource Network 2010.
Basic DOS How to get some work done. It’s all a file Everything is a file: OS files, Application files, Data files and Game files Files have 8.3 names:
You may have already done this… Download the class files to the desktop Expand those files into root of USB stick Change your USB stick to drive “Z”!
PYP002 Intro.to Computer Science Microsoft Word1 Lab 04 - a Microsoft Windows Applications Common Features.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
introductory lecture on java programming
The Command Line Yep, you need to know this. The Basics Start with the Prompt, what the computer tells you when ready for a command You type a command.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
IST 222 Day 6. DOS Naming Conventions A filename contains up to 8 characters, a separating period, and a file extension of up to three characters This.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
How To Make The Backup Of AVG Antivirus 2017 Definitions.
A Short DOS Presentation
Run Java file with Window cmd
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Presentation transcript:

DOS and the Command Line CS 21a: Introduction to Computing I First Semester,

What is DOS? ► Disk Operating System ► Enables the user to organise data files, load and execute (run) program files ► Entirely text-based, command-line system where the user can type in commands from the keyboard

Launching the Command Line ► From the Start menu, choose Run ► Type command or cmd and click OK ► Or: download cmdhere.bat from the course website, place in a folder, and then double-click ► To close the command line, type exit and press

A Word of Warning ► With DOS comes power; you can very easily mess up your system if you use powerful commands in the wrong way ► Be EXTREMELY careful when using these commands: ► format ► fdisk ► del / deltree

Useful DOS Commands ► dir – display current directory ► use /w or /p if directory has a lot of files ► ? stands for a single digit or letter ► * stands for a combination of digits and/or letters ► cd – change current directory ►. – current directory ►.. – parent directory ► md - make new folder ► copy - copies the to a file called ► del - deletes a file

Java Commands ► javac - compile a java program ► java - execute a java program ► javadoc - generate java documentation ► javap - print information about the java class

Java Commands ► set path= ;%PATH% - adds the JDK system directory to the existing path variables set path=C:\Program Files\Java\jdk1.6.0_20\bin ► set classpath= - informs Java where class files are located ► (Note: path should include the location of the Java executables; automatically set by cmdhere.bat)

DOS Exercise ► Open a command line terminal window ► Create and compile the Hello.java program on your desktop ► Create a " cs21a " subdirectory under C:\Users\User\Desktop ► Copy Hello.java and Hello.class to the "cs21a" directory by using JUST 1 copy command ► Delete the Hello.java and Hello.class files on your desktop