DOS and the Command Line CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.

Slides:



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

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.
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)
Chapter 1 Introduction to Spreadsheet. Agenda Download the practice files Spreadsheet application Workbook and worksheet Toolbar Cell Formatting Printing.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Operating System Fundamentals
1 Windows and Beginning Data Manipulation HRP223 – 2013 Oct 9, 2012 Copyright © Leland Stanford Junior University. All rights reserved. Warning:
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
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.
Introduction to Java Programming CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Towson University COSC 236
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
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
© Crown copyright Met Office An Introduction to Linux PRECIS Workshop, University of Reading, 23rd – 27th April 2012.
Several Ways to Print in Windows 98 by Ralph Godinez.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Introduction to Object-Oriented Programming
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.
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.
JCreator CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
Introduction to Systems Programming (CS 0449) PalmOS Tools: Developer Studio & Cygwin.
IDEs Department of Information Systems and Computer Science Ateneo de Manila University.
Hidden Markov Toolkit (HTK) Installation Fang-Hui Chu Department of Computer Science & Information Engineering National Taiwan Normal University.
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.
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.
DOS and the Command Line CS 21a: Introduction to Computing I First Semester,
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.
Windows and Mac OSX.  Formatting a disk prepares it to accept data  NTFS on Windows  HFS+ on the Mac  There are lots of different formatting options.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 10 – Using the Command Line.
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.
Packages. 9/04/2005 Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved L13: Layout Managers Slide 2.
Integrated Development Environments (IDEs) CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila.
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.
1 /17 Installing and Configuring TaxWise © 2006, Universal Tax Systems, Inc. All Rights Reserved. Installing and Configuring TaxWise Objectives –In this.
we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.
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.
Solvency II Tripartite template V2 and V3 Presentation of the conversion tools proposed by FundsXML France.
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)
Windows – File System There is a different file system for each hardware device The different file systems are identified at the root by an alpha character.
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 Department of Information Systems and Computer Science Ateneo de Manila University

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 2 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

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 3 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

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 4 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

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 5 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

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 6 Java commands javac - compile a java program java - execute a java program javadoc - generate java documentation javap - print information about the java class (Note: PATH should include location of the java executables; automatically set by cmdhere.bat)

Copyright 2008, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L2: DOS Slide 7 DOS exercise Open a command line terminal Create and compile the Hello.java program on your desktop Create a “cs21a” subdirectory under c:\Documents and Settings\Guest\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