Exercise #1 - Using MS-DOS





At the command prompt, enter the DOS commands indicated below to perform the following:



cd \DOS



dir



dir /p



dir /w



cd \



format a:



dir a:



format a: /s



attrib a:\*.*



a:



label a:



md \FRUIT



md \FRUIT\GRAPES



dir \FRUIT



cd \FRUIT\GRAPES



cd ..



rd GRAPES



dir



cd \



dir c:



cd \DOS



copy c:\autoexec.bat a:\



copy c:\config.sys



xcopy config.sys workfile.tmp



dir



move workfile.* \fruit



rd FRUIT



DIR FRUIT



DELTREE FRUIT



MD WORK



xcopy c:\*.* a:\work



cd WORK



DIR FRUIT /p



ren *.* *.TXT



rename command.txt command.com



ren C*.* X*.DKA



dir x*.c??

dir x*.c*



del *.txt



dir



attrib +h *.c*



del *.*



dir



cd \



rd work



cd work



dir



attrib *.*



attrib -h *.*



dir



attrib +r *.*



attrib *.*



del *.*



dir



attrib -r *.*



attrib *.*



del *.*



attrib *.*