Welcome

  • Home
  • Blogging Projects
  • Technology Projects
  • About
  • Services
  • Advertise
  • Contact
  • Shiawassee Forums

Latest Posts

AG Bill Schuette using his office as a right wing political toolAG Bill Schuette using his office as a right wing political tool

I'll be on First Shift this morning to discuss Bill Schuette's actions so far as Attorney General. Here's some of the research...

Wisconsin Democrats submit more than 1,000,000 signatures to recall Gov WalkerWisconsin Democrats submit more than 1,000,000 signatures to recall Gov Walker

Wisconsin's anti-union, anti-middle class, anti-99% governor is about to have his hat handed to him.  The people of...

Asking for democracy is democracy in actionAsking for democracy is democracy in action

Say what? Well I was checking out this article on the MLK march on Snyder's residence, and found this tidbit here:"We elect...

‘Choose Life’ plates would fund Right to Life through the Secretary of State‘Choose Life’ plates would fund Right to Life through the Secretary of State

Based on what we've seen of Snyder & the GOP legislature so far, this is definitely going to pass:Among the legislation...

Welcome to cbdcWelcome to cbdc

Hello listeners of First Shift. Thanks for stopping by. This blog is about to be rebooted and will have new posts again in a...

Report shows Shiawassee unemployment rate downReport shows Shiawassee unemployment rate down

The Michigan League for Human Services has issued a report (pdf) that shows some good news for Shiawassee. The unemployment...

CompTIA A+ Test Prep – Batch File

Batch File:

A batch file, created by a word processor, contains a list of DOS commands that are executed as if each was typed and entered one at a time. To identify the file, MS-DOS uses the file extension, .BAT (short for batch).

A batch file can do the following:

Reduce Effort; instead of typing long commands repetitively, type them once in a batch file.
Remap keys
Automate commands
Automate startup

Create a batch file using notepad. The batch file should do the following things:

clear the screen

CLS

change your prompt so that it displays your first name

PROMPT $PCHRISTINE$G

make a directory named subdir1 in the root directory

CD \
This command is unnecessary if the batch file is run from the root directory

MD SUBDIR1

make a subdirectory named subdir2 in the subdir1 directory

MD SUBDIR1\SUBDIR2

Or the following two steps;

CD SUBDIR1

Change to Subdir1 directory

MD SUBDIR2

move the text file you created in #1 from the root directory to subdir2

MOVE C:\CHRISTINE C:\SUBDIR1\SUBDIR2

list the directory of subdir2

DIR SUBDIR2

Or

CD SUBDIR2
DIR

~~~~~~~~~~~
Note: These are notes from my lectures as an IT instructor. Notes are from 1999-2001, so there may be little relevance to contemporary technologies. Still, it seemed like a shame to delete all of this work, so here they are. I hope someone finds them helpful.

Leave a Reply

  

  

  

*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>