Friday, December 21, 2012

Project work of Computer

4. Write down the action performed by the following commands.

a)DEL A:\TEMP\*.BAS
  • It Delete all the files whose extension is BAS of sub directory Temp of  A drive.

b)MD B;\TEMP\NEW
  • It creates new sub directory NEW under sub directory TEMP of B drive.

c)VOL A:
  • It will display volume label of A drive.

d)B:\>DATE 01-23-2005
  • It changes the system date with new date January-23-2005.

e)C:\DOS> TIME 11:5:67.80P
  • It changes the system time with new time 11:45 PM.

f)C:\>DIR *.EXE/P/W
  • It displays all the filenames and directory having extension EXE and pauses when the screen is full.

g)RMDIR A:\TEMP\NEW
  • It removes the sub directory NEW of sub directory TEMP of A drive.

h)TYPE B:\TEMPO\TT.TXT
  • Displays the content of the file TT having extension TXT of sub directory TEMPO of B drive .

i)C:\>COPY CON A:\AAA.TXT
  • It creates a new file AAA having extension TXT in A drive from C drive.

j)C:\>COPY *.TMP C:\TEMP
  • It will copies all the files having extension TMP in sub directory TEMP of c drive.

k)C:\>FORMAT A:/V:NINE/S
  •  It format a disk on a drive and supplies volume label names as NINE from c drive and transfer system files.

l)C:DOS>REN C:\DOS\QBASIC\*.BAS*.PRG
  • It renames all the files having extension BAS into the extension PRG of sub directory QBASIC under sub directory DOSof c drive.

m)C:\EDIT A:\NEW.TXT
  • It opens file named as NEW having extension TXT of A drive from c drive  in edit mode.