-
Re: mujhy computer seekhna hai
We will start Some Basic DOS Commands.
DOS ( Disk Operating System )
Directories
To obtain a listing of the files on the default drive (a directory), give the command:
A>dir
To a listing of the files on another drive, type:
A>dir a:
to see, for example, which files are on the A disk. You could, of course, first make A the default drive and then give the previous command, but this is more cumbersome. This example illustrates a general feature of DOS. Unless you specify otherwise, DOS assumes that it will be dealing with the default drive. You can perform most operations without changing the default drive by specifing another drive letter at the appropriate spot.
Specifying a filename
Most DOS commands require you to specify one or more filenames. Valid filenames are composed of up to eight characters and are optionally followed by an extension of up to three characters. The filename and extension are separated by a period. Some examples of DOS filenames are:
sst.exedemo.cmdjunkExtensions can be used to remind you what the file contains. SST uses the extension `.cmd' for files of SST commands and the extension `.sav' for SST system files.
Copying files
Frequently you will want to make a copy of a file. To copy a file (named oldfile) to a new file named newfile, enter:
A>copy oldfile newfile
( C:/>Copy Filename with extention D: ) ( its mean C drive ki file ko hum D drive main Copy kar rahay hain. Ager D Drive main bhi kisi Folder k ander Copy karna ho tou
( C:/>Copy Filename with extention D:/folder Name )
The file newfile will have exactly the same contents as the file oldfile. As always, DOS assumes oldfile is on the default drive and also places newfile on the default drive. The syntax of DOS commands when two filenames are required is usually "from to", i.e. the first filename is the source (or "from") file and the second is the destination
(or "to") file.
To copy a file from one disk to another, it is only necessary to precede the filename by a drive designation. If you are copying files between disks, then the copy can have the same filename as the original. In fact, if you do not supply a filename for the destination, DOS assumes that you want to use the same filename as the source. For example, if B is the default drive, the following command makes a copy of the file oldfile from the A disk on the B disk with the same name:
B>copy a: oldfile
( yahan a: k baad space nahi aayee ga.. space is liyee Diyaa hay k emoticon aa raha hay
On the other hand, if oldfile is on B (the default drive) and you would like a copy on the A disk, type:
Last edited by SiLenT ScReaM; 20-05-2008 at 11:15 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules