Dos Basic Command | FY BCA NOTES

Dos Basic Command For FY BCA Students

(1)create directory structure as.

Z:\>MD BCA

Z:\>CD BCA

Z:\BCA>MD 1STYEAR

Z:\BCA>MD 2NDYEAR

Z:\BCA>MD 3RDYEAR

Z:\BCA>CD 1STYEAR

Z:\BCA\1STYEAR>MD IIT

Z:\BCA\1STYEAR>MD BDP

Z:\BCA\1STYEAR>MD C

Z:\BCA\1STYEAR>CD IIT

Z:\BCA\1STYEAR\IIT>COPY CON DOC.TXT

Z:\BCA\1STYEAR\IIT>COPY CON WINDOWS.TXT

Z:\BCA\1STYEAR\IIT>CD..

Z:\BCA\1STYEAR>CD BDP

Z:\BCA\1STYEAR\BDP>copy con cobol.doc

Z:\BCA\1STYEAR\BDP>copy con data.doc

Z:\BCA\1STYEAR\BDP>copy con structures.txt

Z:\BCA\1STYEAR\BDP>cd..

Z:\BCA\1STYEAR>cd c

Z:\BCA\1STYEAR\c>copy con functions.txt

Z:\BCA\1STYEAR\c>copy con pointers.txt

Z:\BCA\1STYEAR\c>cd\

(2)ASSUME THE CONTENT IN DOS.TXT.

Z:\>EDIT Z:\BCA\1STYEAR\IIT\DOS.TXT

(3)LIST ALL THE DIR IN PAGE WISE & WIDTH WISE

Z:\BCA>DIR/P

Z:\BCA>DIR/W

(4)COPY THE FILE.

Z:\>COPY Z:\BCA\1STYEAR\BDP\COBOL.DOC Z:\BCA\2NDEAR
1 file(s) copied.

(5)DEL THE FILE.

Z:\>DEL Z:\BCA\1STYEAR\BDP\DATA.DOS

(6)REN THE FILE.

Z:\BCA\1STYEAR\IIT>REN WINDOWS.TXT WINXP.TXT

(7)DISPLAY THE DATE&TIME

Z:\>DATE
The current date is: Mon 07/09/2007
Enter the new date: (mm-dd-yy)

Z:\>TIME
The current time is: 8:46:59.12
Enter the new time:

(8)DISPLAY THE VERSION

Z:\>VER

Microsoft Windows 2000 [Version 5.00.2195]

(9)DISPLAY TOTAL MEM & FREE MEM SPACE.

Z:\>MEM

655360 bytes total conventional memory
655360 bytes available to MS-DOS
633360 largest executable program size

1048576 bytes total contiguous extended memory
0 bytes available contiguous extended memory
941056 bytes available XMS memory
MS-DOS resident in High Memory Area

(10)DISPLAY THE VOL.

Z:\>VOL
Volume in drive Z is Server D
Volume Serial Number is 345F-F1E1

(11)DISPLAY THE CONTENT OF THE FILE.

Z:\>TYPE Z:\BCA\1STYEAR\IIT\DOS.TXT
APPLE
BAT
CAT
XYZ
JACK
PACK
FILES

(12)GRAPHICALLY DISPLAY ALL THE FILE AND DIR.

Z:\BCA>TREE/F

(13)MOVE THE FILE.

Z:\>MOVE Z:\BCA\1STYEAR\C\POINTERS.TXT Z:\BCA\3RDYEAR

Thanks to Kajal Patel (SLICA)

Share

About the Author

Akash Padhiyar

Visit Website

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

Time limit is exhausted. Please reload CAPTCHA.