Window Command Prompt Can you please show how to enter these commands into the c
ID: 3750958 • Letter: W
Question
Window Command Prompt
Can you please show how to enter these commands into the computer. I mostly do not understand #2, adding Dir_2 to Dir_1.
1) Create a folder named Dir_1 in any place of your liking.
2) Create another folder named Dir_2 inside Dir_1 folder.
3) Inside Dir_1 folder, create a file named file_1.txt and type the contents "CIT168 is hard but fun!" in the file.
4) Copy file1_.txt file to Dir_2 folder
5) Display the contents of file_1.txt file from Dir_2 folder. You cannot use notepad to display the contents. Use appropriate command to display the contents on command(s) prompt itself.
Explanation / Answer
1) Create a folder named Dir_1 in any place of your liking.
mkdir Dir_1
2) Create another folder named Dir_2 inside Dir_1 folder.
(mean we have to creatr a folder Dir_2 inside the Dir_1 folder)
mkdir Dir_1Dir_2
3) Inside Dir_1 folder, create a file named file_1.txt and type the contents "CIT168 is hard but fun!" in the file.
echo CIT168 is hard but fun! > Dir_1ile_1.txt
4) Copy file1_.txt file to Dir_2 folder
copy Dir_1ile_1.txt Dir_1Dir_2
5) Display the contents of file_1.txt file from Dir_2 folder. You cannot use notepad to display the contents. Use appropriate command to display the contents on command(s) prompt itself.
type Dir_1Dir_2ile_1.txt
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.