Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (2 votes)
2K views

Unit 2 DOS and Windows Assignment

The document provides 7 assignments related to operating systems (DOS and Windows 7). Assignment 1 involves creating a directory structure using DOS commands and performing copy and list operations within that structure. Assignment 2 performs similar file operations but from a different starting location. The remaining assignments involve creating additional directory structures and performing file operations such as copying, deleting, renaming using DOS and Windows commands.

Uploaded by

jayesh_mandwani
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (2 votes)
2K views

Unit 2 DOS and Windows Assignment

The document provides 7 assignments related to operating systems (DOS and Windows 7). Assignment 1 involves creating a directory structure using DOS commands and performing copy and list operations within that structure. Assignment 2 performs similar file operations but from a different starting location. The remaining assignments involve creating additional directory structures and performing file operations such as copying, deleting, renaming using DOS and Windows commands.

Uploaded by

jayesh_mandwani
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

BBA Ist Semester 2010-11

UNIT 2:- OPERATING SYSTEMS (DOS and Windows 7) Lab Assignments.

Assignment 1
In a library, librarian has to maintain various books. He has made various categories according to the
subject. The tree structure for the various directories are shown below
Subjects

Arts Science Social Sc Hindi Others

Social Psycho Physics Chem Math Language Grammar

Solution.txt

Mphysics Optics Civics History

Law.txt Egypt.txt
Oldlaw.txt h1.txt

Create the above structure using DOS Commands.

Using the above tree structure do the following


a) Imagine you are in psycho directory and from this location copy all files of Civics directory
to the Others directory.
b) List all the files of civics directory using the same location.
c) Copy all the directories and subdirectories of SocialSc to others.

Assignment 2
Based on above figure, Imagine you are in the ‘Others’ directory. From this location give the DOS
commands for the following
a) Display all the files of civics directory
b) Delete the files from the mphysics physics
c) Display all the files, which have extension of ‘txt’ under the ‘math’ directory.
d) Copy the directory ‘optics’ under the ‘mphysics’ directory.
Assignment 3

Altius Institute of University Studies


2/2 South Tukoganj, Behind Silver Mall, Indore Tel: 0731 - 4020950 / 4020945, Helpline: 8878 000 111
www.altius.ac.in
Assume the following directory structure –

D: (root)

MyFIle1.txt (F)

Mails (D) Notes (D)

July.rpt (F) List.txt (F)

Incoming (D) Outgoing (D) BCA (D) English (D)

Memory.dat (F) Office1.txt (F)

D – Directory
F – Ordinary File
Do the following using DOS:
a) Create the above directory structure with the help of MD and CD commands.
b) Change your directory to D: by CD\ command.
c) Create a file MyFile.txt here and type some contents. Use COPY CON command.
d) Display the contents of the file MyFile.txt with the help of TYPE command.
e) In the same way create other files after going into the respective directories with the help of
CD command.
f) Use DIR command to see the contents of D drive.
g) In the same way use DIR command to see the contents of Different directories.
h) Check the version of your OS.
i) Check and correct current date and time.
j) Clear the screen.
k) Remove the directory English with the help of RD command.
l) List the contents of the Directory Notes.

Assignment 4
Assume the following directory structure. You need to create a directory with your name in D or C
drive. –

D: \your name

MKT (D) ADMIN (D) EDU (D)


JAMES.TXT
MAR.RPT (F) STAFF (D) STUDENTS (D)
(F) (F(F)

D – Directory
F – Ordinary File

Do the following using DOS:

Altius Institute of University Studies


2/2 South Tukoganj, Behind Silver Mall, Indore Tel: 0731 - 4020950 / 4020945, Helpline: 8878 000 111
www.altius.ac.in
a) Create the above directory structure with the help of MD and CD commands. And create
MAR.RPT and JAMES.TXT files in the respective directories with the help of EDIT
command.
b) Make D:\your name, the current directory and then create a directory called BATCH under
the directory EDU.
c) In MKT directory copy MAR.RPT file, with the name MAY.RPT.
d) Copy JAMES.TXT file in MKT directory, after making D:\your name directory as current
directory.
e) Copy all .RPT files from MKT to STAFF, without changing the current directory.
f) Delete all the .RPT files under MKT using a single command.
g) Rename the file called JAMES.TXT to BOND.TXT.
h) In the students directory create at-least five files with different names and then use the DIR
command to see the contents of the directory with the help of wild card charcters.

Assignment 5
Create a simple batch file in root directory and execute it to perform the following tasks –
a) Clear the screen
b) Change to subdirectory “your name”
c) Display date
d) Display the contents of the directory

Assignment 6
Create the following folders under the specified locations using windows.
1. D1 on desktop
2. R1 on the c: i.e. root
3. D2 on desktop
4. R2 on the c:

Do the following:
a) Create a folder D1-1 under the D1 folder
b) Create a folder D2-1 under the D2 folder
c) Copy this D2-1 folder and paste it under R1 folder.
d) Create the folder R1-1 under R1 folder
e) Copy R1-1 folder under the R2 folder
f) Rename folder R1-1 under R2 folder as ‘subfolder of R2’
g) From the c: copy all files to folder R2
h) Delete all the files from the folder R2
i) Recover all the deleted files

Assignment 7
Do the following
a) Interchange the functions of left and right mouse buttons.
b) Change the screen saver of your computer and change it to ‘marquee’, set your name as the
text and wait time should be 2 minutes.
c) Change the normal pointer of a mouse to another pointer
d) Set the date advanced by 2 months
e) Reset the system date & time
f) Set the system time late by 2 hrs: 40 minutes.

Altius Institute of University Studies


2/2 South Tukoganj, Behind Silver Mall, Indore Tel: 0731 - 4020950 / 4020945, Helpline: 8878 000 111
www.altius.ac.in

You might also like