Category 1

Monday, March 23, 2015





Untitled Document




File Management Commands

DOS Wildcards

Wildcards


Wildcards are characters that can be used to stand-in for unknown characters in file names. In card games, a wildcard is a card that can match up with any other cards.

In DOS, wildcard characters can match up with any character that is allowable in a file name.

There are two wildcards in DOS:

* = matches up with any combination of allowable characters

? = matches up with any single allowable character

Of course, since these two characters are used for wildcards, they are not allowable in filenames themselves. A filename like myfile?.txt would not be allowed. If you tried to create a file with this name you would get an error message "Bad file name." But wildcards are very useful in any DOS command which uses a filename as an argument.

The apostrophe character, *, can stand in for any number of characters. examples



c:\>del *.doc

This command would delete every file with the doc extension from the root directory of

C: . So files like myfile.doc, testfile.doc, and 123.doc would all be deleted.

C:\>copy ab*.txt a:

This command would copy every file that began with ab, and had an extension of txt, to the floppy drive

A: . So files like abstract.txt, abalone.txt , and abba.txt would all be copied.

C:\temp\>del *.*



This is the fastest way to clean out a directory. This command will delete every file in the directory C:\temp\. The first apostrophe covers every filename, and the second one covers every extension.



C:\>del ?.doc

This command would only delete files that had a single character filename and a doc extension from the root directory. So a file like a.doc or 1.doc is history, but a file like io.doc is perfectly safe, since it has two characters.



C:\>copy ab?.txt a:



were ab, and with a txt extension, to the floppy drive A: . So files like abz.txt and ab2.txt would be copied.

You can combine these wildcards in any command as well.

C:\temp\>del *ab?.do?

This command would be very selective. It would look in the temp directory for files that had anywhere from 1 to 5 beginning characters, followed by ab followed by one character, and which had an extension of do followed by any one character.

It would then delete any such files as matched. Examples of matching files would be itab3.dox, mearabt.doq, and 123abc.doc. But the file allabon.doc would not be deleted because it does not match. It has two characters following the letters ab in the filename, and the command specified one character in that position.

Lets refer next tutorial



File Management Commands,DOS Wildcards

Untitled Document File Management Commands DOS Wildcards Wildcards Wildcards are characters that can be used to stand-in for unkn...




Untitled Document




HTML comment and headings.

 

Comments in HTML

Comments will add to increase the readability of your HTML code as well as details about your code.Browser will not display your comment.

we want to set a comment in HTML we use <!—comment--> tag.

The comment tag includes the actual comment text. Any instance of --> ends the comment. Whitespace may be included between the -- and the > but not between the <! and the first --.

EX :-

<!--this is comment-->

Set a Headings in HTML web page.




There are 6 styles to add a heading to your HTML web page.

When set Headings using <h1> , <h2> ,<h3> ,<h4>, <h5> ,<h6> tags.

Each tag has each font sizes. Do following activity for understand behaviors of this tags.

<html>

<head><title>My first web page</title>

</head>

<H1>HTML is Easy</H1>

<h2>HTML is Easy</h2>

<h3>HTML is Easy</h3>

<h4>HTML is Easy</h4>

<h5>HTML is Easy</h5>

<h6>HTML is Easy</h6>

</html>

Set alignment to the headings.

For set alignment to the heading using align option. When choose alignment of heading, It can be 3 types.

  1. Left
  2. Right
  3. Center

Now lets see how to set alignment to the heading.

<html>

<title>My first web page</title>

<H1 align="center">HTML is Easy</H1>

<h2 align="right">HTML is Easy</h2>

<h3 align="left">HTML is Easy</h3>

</html>

Lets refer next tutorial



HTML comment and headings for beginers

Untitled Document HTML comment and headings.   Comments in HTML Comments will add to increase the readability of your HTML code as...




Untitled Document




DOS Directory Commands

continue with previous tutorial

DELTREE

This command was added later as an external command. It will delete an entire subdirectory "tree", i.e. a subdirectory, plus all of the files it contains, plus all of the subdirectories it contains, and all of the files they contain, etc.,

all in one easy command. This makes it a dangerous command, because it can wipe out so much stuff so easily. It

even ignores file attributes, so you can wipe out hidden, read-only, and system files without knowing it.

You can even wipe out multiple trees by specifying them in the command:

C:\>deltree c:\letters c:\memos

This would wipe out both of these subdirectories in one command.

This is one of those commands where you really ought to think twice before you use it. It has its place, definitely.

We can remember how tedious it was to first go into each subdirectory, delete the individual files, check each subdirectory for contents, delete each subdirectory one at a time, then jump up one level and repeat the process.

DELTREE is a great timesaver when you need it. But I would never use it for ordinary maintenance because one false move can do so much damage.

DIR

This command displays the contents of a subdirectory, but it also can function like a search command, which many people do not realize. This is one of the most used

commands in all of DOS, and learning to use it properly is a great time saver.

DIR will display the contents of the current working subdirectory, or with an optional PATH argument it will display the contents of some other subdirectory. The real power of

the DIR command comes with all of the optional switches available to you.

You can display files in a variety of formats, for instance:

Switch Purpose
/p Will pause the screen when a full screen's worth of information has been displayed. You will see "Press any key to continue...", and press of a key will display one more screen. Great for searching those long lists.
/w Will display the file names and subdirectory names in several columns (i.e. wide), but without any other details.
/b Bare format, displays file names only, without any other information.

Next tutorial



MS DOS Directory Commands for beginers 2

Untitled Document DOS Directory Commands continue with previous tutorial DELTREE This command was added later as an external com...




Untitled Document




DOS Directory Commands




DOS uses directories to organize the files on your disks. That means we need to use directory commands to create a structure to store our files, and to find the files we have stored there.

The commands we need are relatively few:

COMMAND USE FOR
MD

(or MKDIR)
Create a new directory or subdirectory
RD

(or RMDIR)
Remove a directory or subdirectory
CD

(or CHDIR)
Change from the current working directory to another directory
DIR List the contents of the current working directory
DELTREE Erases a directory, including any files or subdirectories it may contain.

Because working with directories is central to what DOS does, all of these (except DELTREE) are Internal commands, contained within COMMAND.COM, and therefore

loaded into RAM and ready for your use whenever you boot, including from a boot disk.

You will note that the first three commands have two versions, a two-letter shorter name and a longer name. There is no real difference in use, so I will use the short form consistently in the presentation.

MD

This command creates a new directory or subdirectory. (Actually, since the root is the main directory, all directories are subdirectories. So I will refer to subdirectories in all of

the following.) Optional argument is the PATH, but if no PATH is included, the subdirectory will be created in the current working subdirectory

Example:

C:\>md letters

This would create the subdirectory

C:\letters

With a path included, you can create a subdirectory anywhere.

C:\>md c:\letters\love

If you are in a different working subdirectory:

C:\letters\>md love

This would have the same effect as the previous example. Since we were already in the C:\letters subdirectory as our current working subdirectory, we can leave out the path information since this is where we want the subdirectory created.

Limitations: The length of a PATH specification cannot exceed 63 characters, including backslashes.

RD

This command removes a subdirectory. The subdirectory must be empty. If it contains files and/or subdirectories, you will get an error message.

This also has an optional PATH argument, and has the same syntax as MD. Note that you cannot remove the current working subdirectory. To do this, CD to the parent subdirectory first, then remove the undesired subdirectory.

The RD command can sometimes be a little confusing because of the safeguards that DOS builds into the command. The idea that you cannot delete a subdirectory that has contents, for instance, is a safety measure. (DELTREE gets around this, but is a dangerous command for precisely that reason.)

How can you tell if a subdirectory is empty? By using the DIR command to display its contents.



Lets see tutorial



MS DOS Directory Commands for beginers

Untitled Document DOS Directory Commands DOS uses directories to organize the files on your disks. That means we need to use di...




HTML basic For beginners




HTML Basics

 



What constitutes a Tag?

A tag can consist of the following three items inside the angle brackets, or wickets.

Element - Provides the main instruction of the tag. Elements include <FONT>, <TABLE>, and many others.

Attribute -Specifies a quality or describes a certain aspect of the element. For example, <p> has several attributes, including ALIGN.

Value - Gives value to the element and its attribute. For example, <DIV ALIGN="center"> has a value that allows you to center text.

Some HTML tags use only an element and do not support attributes and values. Others,such as the <DIV> tag, support attributes and values.

HTML Document.

<HTML>

<HEAD>

<TITLE>Web Page Title</TITLE>

</HEAD>

<BODY>

Our web page body is here

</BODY>

</HTML>

The Document Type Declaration (DTD) statement begins your HTML code by specifying the HTML version number and type used in the document. You should note that the DTD statement is technically not an HTML statement, but an SGML statement. The opening <HTML> and closing </HTML> tags enclose the entire page.

Within any page, there are two document sections: the HEAD and the BODY. Each of these sections has corresponding <HEAD> and <BODY> container tags that enclose any text or other tags pertaining to those sections.

Every page should have a title, enclosed within <TITLE> tags in the HEAD section.

The title is very important. Text between <TITLE> tags will appear in the title box of the browser window, in the history list, and on the page when printed.

Title text also becomes the bookmark name if the page is bookmarked or added to a browser Favorites folder.

All text to be displayed on the page through the browser or HTML interpreter needs to appear between the <BODY> and </BODY> tags.

Element Use for
<html> Identifies the document type as HTML.
<head> Encloses the HEAD section of the document. The title will appear

in the HEAD section, and also java script,css external document links will appear.
<title> Encloses the text that will appear in the browser title bar when the page is loaded. The TITLE container is itself contained within the <HEAD> tags.web search engines will firstly compair this title with what is search.
<body> the web page body is create in the BODY tag,section will appear in the browser window when that page is loaded.

 


Lets see next tutorial



HTML basic For beginners

HTML basic For beginners HTML Basics   What constitutes a Tag? A tag can consist of the following three items inside the angl...

Friday, March 20, 2015





Java Script Introduction for beginers




Java Script Introduction



Java script is web programing language.

In java script you can perform tasks such as,

Performing mathematical calculations on numbers such as addition, subtraction, multiplication, and division.

Working with text to find out how long a sentence is, or where the first occurrence of a specified letter is within a section of text.

Checking if one value (a number or letter) matches another.

Checking if one value is shorter or longer, lower or higher than another.

Repeating an action a certain number of times or until a condition is met (such as a user pressing a button).

That says when we want to do some process in the web page basically using java script programing language.

Java script is a object oriented programing language.

It also case sensitive as like java.

In the script, space , tag are avoiding and they are not cause to what will say in the code.

All of web browsers are support to java script and we can disable java script in web browser.

Set comment with java script.

If we set a comment in java script the comment is not publish or that comment is not involve to process in web page.

When set a one line comment in java script using       

 //comment­­_____

When we set a multi-line comment in java script using

/* comment

 

Comment____*/

 

OK Now lets see how to insert java script code to my html page.

There are several things to set a java script to my web page.


Using <script> element.


this element can use with in head tag or with in body tag.

The code should write in this element as following example

<script>

document.write("I like Java Script")

</script>

 

EX:-

<html>

<head></head>

<body>

<script>

document.write("I like Java Script")

</script>

</body>

</html>

lets see next tutorial..

 



Java script introduction for beginers

Java Script Introduction for beginers Java Script Introduction Java script is web programing language. In java script you can ...

Thursday, March 19, 2015





MS DOS for learners and beginers




History of Microsoft DOS



MS-DOS 1.0 was released August, 1981.

MS-DOS 1.25 was released August, 1982.

MS-DOS 2.0 was released March, 1983.

Microsoft introduces MS-DOS 3.0 for the IBM PC AT and MS-DOS 3.1 for networks.

MS-DOS 3.2 was released April, 1986.

MS-DOS 3.3 was released April, 1987.

MS-DOS 4.0 was released July, 1988.

MS-DOS 4.01 was released November, 1988.

MS-DOS 5.0 was released June, 1991.

MS-DOS 6.0 was released August, 1993.

MS-DOS 6.2 was released November, 1993


DOS SYNTAX





SWITCHES= /F /K /N /E[:n]

/F Skips the two-second delay after displaying the "Starting MS-DOS"

message during startup.
/K Forces an enhanced keyboard to behave like a conventional keyboard.
/N Prevents you from using the F5 or F8 key to bypass startup commands.

(SWITCHES /N does not prevent you from pressing CTRL+F5 or CTRL+F8

to bypass Drvspace.bin or Dblspace.bin; to prevent this, use the D**SPACE
/SWITCHES Command to add the SWITCHES /N setting to your D**space.ini file.)
/E[:N] Used without the :n parameter, indicates that Io.sys should suppress the

automatic relocation of EBIOS. (Automatic relocation of EBIOS increases

the conventional memory available to MS -DOS-based programs.)

Suppressing automatic relocation results in less conventional memory

available to MS-DOS-based programs. Use the /E switch with the n

parameter to relocate N bytes of EBIOS to low memory, where n is the

number of bytes to be relocated. The minimum value for n is 48 and the

maximum value is 1024. The number specified is always rounded up to the

next multiple of 16.

 

 



MS DOS for learners and beginers Dos Syntax

MS DOS for learners and beginers History of Microsoft DOS MS-DOS 1.0 was released August, 1981. MS-DOS 1.25 was released August...

 

ICT SKILL © 2015 - Designed by Templateism.com, Plugins By MyBloggerLab.com