Guruhi talabasi: Akramov Ulugʻbek C. 1 Bios sozlamalarini sozlash


Using the COPY command to copy files in the same directory



Download 1,13 Mb.
bet10/18
Sana18.04.2023
Hajmi1,13 Mb.
#929647
1   ...   6   7   8   9   10   11   12   13   ...   18
Bog'liq
Akramov Ulugʻbek 610-20

Using the COPY command to copy files in the same directory
7. How to copy folders in CMD, including their contents (XCOPY in CMD)
To copy a folder and its content from one location to another, use the XCOPY command:
XCOPY /s /i
Let's assume that we need to copy a folder from D:\Digital_Citizen to C:\Backup_Digital_Citizen. To do that, we have to run the command:
xcopy /s /i d:\Digital_Citizen c:\Backup_Digital_Citizen
The /s parameter ensures that all the directories and subdirectories are going to be copied, except the ones that are empty. The /i parameter creates a new directory if the destination folder does not exist and copies all the files in it.

Using XCOPY to copy folders and their contents in Command Prompt
8. How to delete files with Command Prompt (DEL in CMD)
The DEL (Delete) is used to delete files from the folders you have created. To delete all the files from a folder, you can run the command
del folder
For instance, let’s say we want to delete all the files from the Digital_Citizen_Tests folder found in the D:\Digital_Citizen directory. For that, you first open the Digital_Citizen folder in Command Prompt and then you run this command:
del Digital_Citizen_Tests
You must confirm the delete process by typing the letter y for Yes, and then pressing Enter.
NOTE: To also delete hidden files from the folder, you must add the /h parameter. Also, note that the DEL command does not work for deleting folders - for that, you have to use the RD command, covered in the next section of this tutorial.

Using the DEL command to delete all the files in a directory in Command Prompt
If you need to delete a single file, use the DEL command followed by that file’s name. For instance, to delete the file Digital_Citizen_Notes.txt from D:\Digital_Citizen, we should run the command:

Download 1,13 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   ...   18




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish