Chapterبەش 5 · Lectureوانە 5.5

The Command Line: Command Prompt Basicsڕووکاری هێڵی فەرمان: بنەماکانی ⁦Command Prompt⁩

Why IT staff still type commands; MS-DOS, Command Prompt, PowerShell and Windows Terminal; reading the prompt; help, help dir and /?; the 15 commands of the course's CMD table — dir (and its output), drives, paths, wildcards, md, cd, rd, copy (files only — xcopy and robocopy for folders), move, ren, del, type, ver, vol, date and time — with real output shapes, a copy con lab animation, PowerShell and macOS/Linux equivalents, and common mistakes.

بۆچی کارمەندانی IT هێشتا دەنووسن؛ ⁦MS-DOS⁩، ⁦Command Prompt⁩، PowerShell و ⁦Windows Terminal⁩؛ خوێندنەوەی ؛ help، ⁦help dir⁩ و /?؛ ⁦15⁩ خشتەی CMDـی کۆرسەکە — dir (و ئەنجامەکەی)، درایڤەکان، ، ، md، cd، rd، copy (تەنها — xcopy و robocopy بۆ )، move، ren، del، type، ver، vol، date و time — بە شێوەی ئەنجامی ڕاستەقینە، جوڵەوێنەی تاقیگەی ⁦copy con⁩، هاوتاکانی PowerShell و ⁦macOS/Linux⁩ و هەڵە باوەکان.

21 min read24 خولەک خوێندنەوە · 19 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Explain what a shell and a terminal are, and open Command Prompt in Windows 11.
  • Read the prompt and get help for any command.
  • List, find and move between folders and drives with dir, wildcards and cd.
  • Create and remove folders, and copy, move, rename and delete files safely.
  • Write and read a text file with copy con and type, and ask Windows for its version, volume, date and time.
  • Recognise the same commands in PowerShell, macOS and Linux.
  • ڕوون بکەیتەوە و چین و ⁦Command Prompt⁩ لە ⁦Windows 11⁩دا بکەیتەوە.
  • بخوێنیتەوە و بۆ هەر یارمەتی وەربگریت.
  • بە dir، و cd و درایڤەکان لیست بکەیت، بیاندۆزیتەوە و لە نێوانیاندا بگەڕێیت.
  • دروست بکەیت و لایان ببەیت و بە سەلامەتی کۆپی بکەیت، بیانگوازیتەوە، ناویان بگۆڕیت و بیانسڕیتەوە.
  • بە ⁦copy con⁩ و type بنووسیت و بیخوێنیتەوە و وەشان، ، بەروار و کات لە Windows بپرسیت.
  • هەمان لە PowerShell، macOS و Linuxـدا بناسیتەوە.

Why type commands?بۆچی فەرمان بنووسین؟

In a graphical user interface (GUI) you point and click. In a command-line interface (CLI) you type a command, press Enter, and the computer answers with text. The two words are defined in Software and Operating Systems; this lesson is the practice.

لە ـدا ئاماژە دەکەیت و دەکەیت. لە ـدا دەنووسیت، Enter دادەگریت و بە دەق وەڵام دەداتەوە. ئەم دوو وشەیە لە نەرمەواڵە و سیستەمەکانی وەگەڕخەردا پێناسە کراون؛ ئەم وانەیە ڕاهێنانەکەیە.

Before Windows, PCs ran MS-DOS (Microsoft Disk Operating System, 1981), where everything was typed. Windows hid the commands behind windows and icons, but IT staff still use them every day:

پێش Windows، ⁦MS-DOS⁩ـیان کار پێ دەکرد (⁦Microsoft Disk Operating System⁩، ⁦1981⁩)، کە هەموو شتێک تێیدا دەنووسرا. Windows لە پشت و شاردەوە، بەڵام کارمەندانی IT هێشتا هەموو ڕۆژێک بەکاریان دەهێنن:

  • Speed: one line can copy every .jpg file from ten folders.
  • Repair: when Windows will not start normally, the recovery tools offer a command prompt, not a desktop.
  • Servers and remote work: many servers have no desktop at all; you manage them by typing.
  • Automation: typed commands can be saved in a script and run again tomorrow.
  • خێرایی: یەک دێڕ دەتوانێت هەموو ⁦.jpg⁩ لە دە کۆپی بکات.
  • چاککردنەوە: کاتێک Windows بە ئاسایی دەست پێ ناکات، ئامرازەکانی Recovery ⁦Command Prompt⁩ پێشکەش دەکەن، نەک .
  • و کار لە دوورەوە: زۆر هیچ نییە؛ بە نووسین بەڕێوەیان دەبەیت.
  • خۆکارکردن: نووسراوەکان دەتوانرێن لە هەڵبگیرێن و سبەی دووبارە کار بکەنەوە.
Quick checkپشکنینی خێراTrue or false: «Microsoft DOS is an example of a command-driven user interface.»ڕاست یان هەڵە: «⁦Microsoft DOS⁩ نموونەیەکی بەکارهێنەرە کە بە کار دەکات.»

Command Prompt, PowerShell and Windows Terminal⁦Command Prompt⁩، PowerShell و ⁦Windows Terminal⁩

The course calls them «DOS commands typed in a command prompt window». Today two different programs work together:

کۆرسەکە پێیان دەڵێت « DOS کە لە ⁦command prompt⁩ـدا دەنووسرێن». ئەمڕۆ دوو جیاواز پێکەوە کار دەکەن:

  • A shell reads what you type and runs it. Windows has two: Command Prompt (cmd.exe), which keeps the old MS-DOS commands such as dir and copy, and PowerShell, a newer and much stronger shell with its own commands (cmdlets) such as Get-ChildItem.
  • A terminal is the window that shows the shell. In Windows 11 it is Windows Terminal: each tab can run a different shell — Command Prompt, PowerShell, or Linux through WSL.
  • ئەوە دەخوێنێتەوە کە دەینووسیت و جێبەجێی دەکات. Windows دوو هەیە: ⁦Command Prompt⁩ (cmd.exe)، کە کۆنەکانی ⁦MS-DOS⁩ وەک dir و copy دەپارێزێت و PowerShell، نوێتر و زۆر بەهێزتر بە تایبەتی خۆی ⁦(cmdlet)⁩ وەک Get-ChildItem.
  • بریتییە لەو کە پیشان دەدات. لە ⁦Windows 11⁩دا بریتییە لە ⁦Windows Terminal⁩: هەر تابێک دەتوانێت جیاواز کار پێ بکات — ⁦Command Prompt⁩، PowerShell، یان Linux لە ڕێگەی WSLـەوە.
A tea houseچایخانەیەک

The terminal is the tea house: the room, the tables, the window to the street. The shell is the waiter who understands your order and brings it. One tea house can have several waiters — one tab with Command Prompt, another with PowerShell.

چایخانەکەیە: ژوورەکە، مێزەکان، پەنجەرەکەی سەر شەقام. چایچییەکەیە کە داواکارییەکەت تێدەگات و بۆت دەهێنێت. یەک چایخانە دەتوانێت چەند چایچییەکی هەبێت — تابێک بە ⁦Command Prompt⁩ و تابێکی تر بە PowerShell.

Where the analogy stops workingسنووری ئەم نموونەیە

A waiter can guess what you mean; a shell cannot. It does exactly what you type — even a mistake.

چایچی دەتوانێت مەبەستت بزانێت؛ ناتوانێت. ڕێک ئەوە دەکات کە دەینووسیت — تەنانەت هەڵەیەکیش.

Since Windows 11 version 22H2, Windows Terminal opens automatically when you start Command Prompt or PowerShell. This lesson uses Command Prompt, because its commands are the ones in the course — with one PowerShell comparison at the end.

لە ⁦Windows 11⁩ وەشانی ⁦22H2⁩ـەوە، کاتێک ⁦Command Prompt⁩ یان PowerShell دەکەیتەوە ⁦Windows Terminal⁩ خۆکارانە دەکرێتەوە. ئەم وانەیە ⁦Command Prompt⁩ بەکار دەهێنێت، چونکە هەمان ئەوانەن کە لە کۆرسەکەدان — بە یەک بەراورد لەگەڵ PowerShell لە کۆتاییدا.

Quick checkپشکنینی خێراIn Windows Terminal, Aram opens one tab with Command Prompt and one with PowerShell. How many shells and how many terminal windows is that?لە ⁦Windows Terminal⁩ـدا ئارام تابێک بە ⁦Command Prompt⁩ و تابێک بە PowerShell دەکاتەوە. ئەوە چەند و چەند ؟

Open Command Promptکردنەوەی ⁦Command Prompt⁩

  1. Select Start and type cmd (or Command Prompt).

    Start هەڵبژێرە و cmd بنووسە (یان ⁦Command Prompt⁩).

  2. Select Command Prompt in the results. Windows Terminal opens with a Command Prompt tab.

    لە ئەنجامەکاندا ⁦Command Prompt⁩ هەڵبژێرە. ⁦Windows Terminal⁩ بە تابێکی ⁦Command Prompt⁩ـەوە دەکرێتەوە.

  3. Other ways: ⊞ + R, type cmd, Enter; or in an open Windows Terminal, click the ⌄ next to the tabs and choose Command Prompt.

    ڕێگاکانی تر: ⊞ + R، cmd بنووسە، Enter؛ یان لە ⁦Windows Terminal⁩ـێکی کراوەدا، لە ⌄ لە تەنیشت تابەکان بکە و ⁦Command Prompt⁩ هەڵبژێرە.

Quick checkپشکنینی خێراWhat is the quickest way to open Command Prompt from the keyboard?خێراترین ڕێگا بۆ کردنەوەی ⁦Command Prompt⁩ بە چییە؟

The prompt: where am I?دەقی داواکردن: من لە کوێم؟

The text at the start of the line, such as C:\Users\Aram>, is the prompt. Windows prints it by itself to say «I'm ready» — and it tells you where you are: the drive and the current folder. Yours shows your own user name; it may also look like D:\> or C:\Work>.

ئەو دەقەی سەرەتای دێڕەکە، وەک C:\Users\Aram>، ـە. Windows خۆی دەینووسێت بۆ ئەوەی بڵێت «ئامادەم» — و پێت دەڵێت لە کوێیت: درایڤەکە و ئێستا. هی تۆ خۆت پیشان دەدات؛ لەوانەیە وەک D:\> یان C:\Work>ـیش دەربکەوێت.

The prompt C:\Users\Aram\Documents> written large, followed by a blinking cursor. Labels underneath: «C:» is the drive letter; the first backslash is the root of the drive; «Users\Aram\Documents» is the path of the current folder; «>» ends the prompt; the cursor after it is where you type.دەقی داواکردنەکە C:\Users\Aram\Documents> بە گەورەیی نووسراوە و نیشاندەرێک لە دوایدا دەتروسکێتەوە. نیشانەکانی خوارەوە: «C:» پیتی درایڤەکەیە؛ یەکەم هێڵی لار فۆڵدەری ڕەگی درایڤەکەیە؛ «Users\Aram\Documents» ڕێڕەوی فۆڵدەری ئێستایە؛ «>» کۆتایی دەقی داواکردنە؛ نیشاندەرەکە دوای ئەو شوێنی نووسینتە.
Read the prompt from left to right: drive, path, then your cursor. لە چەپەوە بۆ ڕاست بخوێنەوە: درایڤ، ، پاشان .CêIT
  • Type a command after the prompt and press Enter. Nothing happens until you press Enter.
  • Commands are not case-sensitive: DIR, dir and DiR do the same. (File names are not case-sensitive on Windows either.)
  • Press ↑ to bring back the last command, and Tab to complete a long file or folder name.
  • cls clears the screen; exit closes the window.
  • لە دوای بنووسە و Enter دابگرە. هیچ ڕوو نادات تا Enter دانەگریت.
  • نین: DIR، dir و DiR هەمان کار دەکەن. (ناوی لە Windowsـدا نییە.)
  • ↑ دابگرە بۆ گەڕاندنەوەی دوایین و Tab بۆ تەواوکردنی ناوێکی درێژی یان .
  • cls شاشەکە پاک دەکاتەوە؛ exit دادەخات.
Quick checkپشکنینی خێراThe prompt shows D:\Photos\2026>. Where are you? D:\Photos\2026> پیشان دەدات. لە کوێیت؟

Ask for help: help, help dir, dir /?داوای یارمەتی: help، ⁦help dir⁩، ⁦dir /?⁩

You do not have to remember everything. Type help and press Enter: Command Prompt lists its commands with one line about each. The list is long — the top scrolls away, so use the scroll bar or the mouse wheel to read it.

پێویست ناکات هەموو شتێک لەبیر بێت. help بنووسە و Enter دابگرە: ⁦Command Prompt⁩ بە یەک دێڕ دەربارەی هەریەکەیان لیست دەکات. لیستەکە درێژە — سەرەوەی دەڕوات، بۆیە شریتی لاپەڕەگەڕان یان خڕۆکەی بەکار بهێنە بۆ خوێندنەوەی.

help lists the commands (shortened)help فەرمانەکان لیست دەکات (کورتکراوە)BATType in a terminalلە تێرمیناڵدا بینووسە
help

For one command, type help and its name — help dir — or the command with the option /?: dir /?. Both show what the command does, its syntax (the exact way to write it) and its options.

بۆ یەک ، help و ناوەکەی بنووسە — help dir — یان لەگەڵ ـی /?: dir /?. هەردووکیان پیشان دەدەن چی دەکات، ـەکەی (شێوازی ڕێکی نووسینی) و .

help dir: the syntax and options of one command (shortened)⁦help dir⁩: داڕستن و هەڵبژاردەکانی فەرمانی یەک فەرمان (کورتکراوە)BATType in a terminalلە تێرمیناڵدا بینووسە
help dir
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 1

In the output, square brackets mean «optional»: you may leave those parts out. You never type the brackets themselves.

لە ئەنجامەکەدا، کەوانەی چوارگۆشە واتە «ئارەزوومەندانە»: دەتوانیت ئەو بەشانە نەنووسیت. هەرگیز خودی کەوانەکان نانووسیت.

Quick checkپشکنینی خێراYou forgot what the /W option of dir does. What do you type?لەبیرت چووە /W لە dir چی دەکات. چی دەنووسیت؟

The 15 commands of this lesson⁦15⁩ فەرمانەکەی ئەم وانەیە

This table is a cleaned-up version of a student's own CMD table from the course. The lesson teaches each line; come back here as a reminder. In the examples, words in angle brackets such as <file name> are placeholders: you type a real name instead, without the brackets.

ئەم خشتەیە وەشانێکی ڕێکخراوی خشتەی CMDـی قوتابییەکە لە کۆرسەکەدا. وانەکە هەر دێڕێکی فێر دەکات؛ وەک بیرخستنەوە بگەڕێوە ئێرە. لە نموونەکاندا، ئەو وشانەی لەناو کەوانەی گۆشەداردان وەک <file name> شوێنگرن: لە جێیان ناوێکی ڕاستەقینە دەنووسیت، بەبێ کەوانەکان.

The course's CMD table, corrected (copy works on files only; vol shows the label and serial number, not the size)خشتەی CMDـی کۆرسەکە، ڕاستکراوە (copy تەنها لەسەر کار دەکات؛ vol ناو و ژمارەی زنجیرە پیشان دەدات، نەک قەبارە)
CommandExampleنموونەWhat it doesچی دەکات
helphelp dirLists the commands, or explains one. لیست دەکات، یان یەکێکیان ڕوون دەکاتەوە.
dirdir *.txtLists the files and folders in a folder. و ناو لیست دەکات.
cdcd DocumentsChanges the current folder. ئێستا دەگۆڕێت.
cd..cd ..Goes up to the parent folder.دەچێتە سەرەوە بۆ دایک.
mdmd labMakes a new folder. نوێ دروست دەکات.
rdrd labRemoves an empty folder. بەتاڵ لادەبات.
copycopy notes.txt D:\Copies files (not folders). کۆپی دەکات (نەک ).
movemove notes.txt BackupMoves files or folders. یان دەگوازێتەوە.
renren old.txt new.txtRenames a file or folder.ناوی یان دەگۆڕێت.
deldel notes.txtDeletes files — no Recycle Bin. دەسڕێتەوە — بەبێ .
typetype notes.txtShows what is inside a text file.ناوەڕۆکی پیشان دەدات.
ververShows the Windows version.وەشانی Windows پیشان دەدات.
volvol C:Shows a drive's label and serial number.ناو و ژمارەی زنجیرەی درایڤێک پیشان دەدات.
datedate /tShows (or sets) the date.بەروار پیشان دەدات (یان دیاری دەکات).
timetime /tShows (or sets) the time.کات پیشان دەدات (یان دیاری دەکات).
Quick checkپشکنینی خێراThe table says type <file name.txt>. What do you actually type to read notes.txt?خشتەکە دەڵێت type <file name.txt>. بۆ خوێندنەوەی notes.txt لە ڕاستیدا چی دەنووسیت؟

Look around with dirسەیرکردنی دەوروبەر بە dir

In Command Prompt a folder is called a directory — the two words mean exactly the same. dir lists the contents of the current directory: the same files and folders you would see in File Explorer, only as text.

لە ⁦Command Prompt⁩ـدا پێی دەوترێت directory — دوو وشەکە ڕێک یەک واتایان هەیە. dir ناوەڕۆکی ئێستا لیست دەکات: هەمان ئەو و لە ⁦File Explorer⁩ـدا دەیانبینیت، تەنها وەک دەق.

dir in Aram's Documents folderdir لە فۆڵدەری Documentsـی ئارامBATType in a terminalلە تێرمیناڵدا بینووسە
cd Documents
dir
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 2

dir with nothing after it lists the folder you are in.

dir بەبێ هیچ شتێک لە دوایدا ئەو لیست دەکات کە تێیدایت.

Part of the outputبەشێک لە ئەنجامەکەMeaningواتا
Volume in drive C is WindowsThe drive and its label (name); the serial number below identifies the volume.درایڤەکە و ناوەکەی؛ ژمارەی زنجیرەکەی خوارەوە دەناسێنێت.
Directory of C:\Users\Aram\DocumentsThe folder being listed. dir shows one folder at a time.ئەو لیست دەکرێت. dir هەر جارە یەک پیشان دەدات.
<DIR>This line is a folder. Lines without <DIR> are files.ئەم دێڕە . دێڕەکانی بێ ⁦<DIR>⁩ .
48,213The file's size in bytes (about 48 KB). Folders show no size; 0 means an empty file.قەبارەی بە (نزیکەی ⁦48 KB⁩). قەبارە پیشان نادەن؛ 0 واتە بەتاڵ.
10/22/2026 11:03 AMWhen the file or folder was created or last changed (in your region's date format).کەی یان دروست کرا یان دوایین جار گۆڕا (بە شێوەی بەرواری ناوچەکەت).
. and ..Two special entries: . is this folder, .. is the folder above it.دوو تۆماری تایبەت: . ئەم ، .. سەرەوەیە.
3 File(s) … bytes freeHow many files and folders, their total size, and the free space left on the drive.چەند و ، کۆی قەبارەیان و شوێنی بەتاڵی سەر درایڤەکە.

Open File Explorer at the same folder and compare: the names, sizes and dates are the same. The command line and the desktop are two windows onto the same files.

⁦File Explorer⁩ لە هەمان بکەرەوە و بەراورد بکە: ناو، قەبارە و بەروارەکان یەکن. و دوو بۆ هەمان .

Quick checkپشکنینی خێراIn a dir listing, the line 10/23/2026 08:10 PM 0 empty.txt tells you that…لە لیستێکی dirـدا، دێڕی 10/23/2026 08:10 PM 0 empty.txt پێت دەڵێت کە…

MASTERING Command Prompt Basics! | TutorialSkill Foundry · Englishئینگلیزی · 202K viewsبینین · 4.6K likesلایک · Partبەشی 0:28–3:16 (ofلە 20:23)

Command Prompt beside File Explorer: read the prompt, go to the root with cd , list with dir, then rename, move and delete.

⁦Command Prompt⁩ لە تەنیشت ⁦File Explorer⁩: خوێندنەوەی ، چوون بۆ بە cd، لیستکردن بە dir، پاشان ، گواستنەوە و سڕینەوە.

Plays 0:28-3:16: open CMD, read the prompt, cd to the root, then dir compared with File Explorer.

لە ⁦0:28⁩ تا ⁦3:16⁩ پەخش دەبێت: کردنەوەی CMD، خوێندنەوەی ، چوون بۆ بە cd، پاشان dir بەراورد بە ⁦File Explorer⁩.

Look around with dirسەیرکردنی دەوروبەر بە dir

Switch drives: d: and back to c:گۆڕینی درایڤ: d: و گەڕانەوە بۆ c:

To work on another drive, type its drive letter and a colon, with no space, and press Enter: d:. The prompt changes to D:\>, and dir now lists the top folder (the root) of drive D. To come back, type c:. The same works for a USB flash drive, for example e:.

بۆ کارکردن لەسەر درایڤێکی تر، ـەکەی و دوو خاڵ بنووسە، بەبێ بۆشایی و Enter دابگرە: d:. دەگۆڕێت بۆ D:\> و ئێستا dir درایڤی D (root) لیست دەکات. بۆ گەڕانەوە، c: بنووسە. هەمان شت بۆ کار دەکات، بۆ نموونە e:.

Switching to drive D and backگۆڕین بۆ درایڤی D و گەڕانەوەBATType in a terminalلە تێرمیناڵدا بینووسە
d:
dir
c:
Quick checkپشکنینی خێراYou type d : (with a space) and Command Prompt answers with an error. Why?d : دەنووسیت (بە بۆشاییەوە) و ⁦Command Prompt⁩ بە هەڵەیەک وەڵام دەداتەوە. بۆچی؟

Look around with dirسەیرکردنی دەوروبەر بە dir

dir with a pathdir لەگەڵ ڕێڕەو

You can list any folder without going there: give dir its path. dir d:\schoolwork\accounting lists the folder accounting, which is inside schoolwork at the root of drive D. A path that starts with the drive or with a backslash is a full (absolute) path; one that starts with a folder name is relative to where you are — the idea is explained in Applications and Files.

دەتوانیت هەر لیست بکەیت بەبێ ئەوەی بچیتە ئەوێ: بدە بە dir. dir d:\schoolwork\accounting accounting لیست دەکات، کە لەناو schoolworkـدایە لە درایڤی D. کە بە درایڤەکە یان بە هێڵی لار دەست پێ دەکات تەواوە ⁦(absolute)⁩؛ ئەوەی بە ناوی دەست پێ دەکات پەیوەستە بەوەی تۆ لە کوێیت ⁦(relative)⁩ — بیرۆکەکە لە ئەپ و فایلەکاندا ڕوون کراوەتەوە.

Listing other foldersلیستکردنی فۆڵدەرەکانی ترBATType in a terminalلە تێرمیناڵدا بینووسە
dir d:\schoolwork\accounting
dir "C:\Users\Aram\My Projects"
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 2

A path with a space in it must be in double quotes.

کە بۆشایی تێدایە دەبێت لەناو دوو جووت کۆتەیشندا بێت.

Quick checkپشکنینی خێراWhich command lists the folder Reports inside D:\Work without changing your current folder?کام Reports لەناو D:\Work لیست دەکات بەبێ گۆڕینی ئێستات؟

Wildcards: * and ?هێماکانی جێگرەوە: * و ?

A wildcard stands for other characters, so one command can work on many files — like a joker card in a card game.

لە جێی پیتی تر دادەنرێت، بۆیە یەک دەتوانێت لەسەر زۆر کار بکات — وەک جۆکەر لە یاریی پاسوورەدا.

PatternشێوەMatchesڕێک دەکەوێت لەگەڵ
*Any characters, any number of them (also none).هەر پیتێک، بە هەر ژمارەیەک (تەنانەت هیچیش).
?Exactly one character in that place.ڕێک یەک پیت لەو شوێنەدا.
dir *.txtEvery file whose extension is .txt.هەموو کە ⁦.txt⁩ـە.
dir *.exeEvery program file (.exe). Change exe to doc, jpg, zip, rar… for other types.هەموو ⁦(.exe). exe⁩ بگۆڕە بۆ doc، jpg، zip، rar… بۆ جۆرەکانی تر.
dir report*.*Every file whose name starts with «report», with any extension.هەموو کە ناوەکەی بە «report» دەست پێ دەکات، بە هەر .
dir lab?.docxlab1.docx, lab2.docx, labA.docx — but not lab10.docx.⁦lab1.docx⁩، ⁦lab2.docx⁩، ⁦labA.docx⁩ — بەڵام نەک ⁦lab10.docx⁩.
*.*All files.هەموو .
Quick checkپشکنینی خێراWhich files does dir photo?.jpg list?dir photo?.jpg کام لیست دەکات؟

Folders: md, cd, cd .. and rdفۆڵدەرەکان: md، cd، cd .. و rd

Four commands move around the folder tree and change it. When they work, md, cd and rd print nothing — only the prompt comes back. No news is good news.

چوار بە درەختی دەگەڕێن و دەیگۆڕن. کاتێک کار دەکەن، md، cd و rd هیچ چاپ ناکەن — تەنها دەگەڕێتەوە. بێدەنگی هەواڵی خۆشە.

CommandWhat it doesچی دەکات
md entertainmentMake directory: creates the folder inside the current one. Run dir to see it.⁦Make directory⁩: لەناو ئێستادا دروست دەکات. dir بەکار بهێنە بۆ بینینی.
cd entertainmentChange directory: go into it. The prompt changes to ...\entertainment>.⁦Change directory⁩: بچۆ ناوی. دەگۆڕێت بۆ ...\entertainment>.
cd ..Go up one level, to the parent folder (cd.. without the space also works in Command Prompt).یەک ئاست بڕۆ سەرەوە، بۆ دایک (cd.. بەبێ بۆشاییش لە ⁦Command Prompt⁩ـدا کار دەکات).
cd \Jump to the root of the drive.باز بدە بۆ درایڤەکە.
rd entertainmentRemove directory: deletes the folder — only if it is empty.⁦Remove directory⁩: دەسڕێتەوە — تەنها ئەگەر بەتاڵ بێت.
Left: a folder tree — C: at the top, then Users, then Aram, which holds Desktop, Documents and a new folder «entertainment». Coloured arrows show four steps: md entertainment creates the new folder; cd entertainment moves down into it; cd .. moves back up to Aram; a cd with a backslash jumps to the root C:. Right: the prompt after each step — C:\Users\Aram>, C:\Users\Aram\entertainment>, C:\Users\Aram>, C:\>.چەپ: درەختی فۆڵدەرەکان — C: لە سەرەوە، پاشان Users، پاشان Aram، کە Desktop، Documents و فۆڵدەرێکی نوێی «entertainment»ـی تێدایە. تیرە ڕەنگاوڕەنگەکان چوار هەنگاو پیشان دەدەن: md entertainment فۆڵدەرە نوێکە دروست دەکات؛ cd entertainment دەچێتە خوارەوە بۆ ناوی؛ cd .. دەگەڕێتەوە سەرەوە بۆ Aram؛ cd لەگەڵ هێڵی لار باز دەدات بۆ فۆڵدەری ڕەگی C:. ڕاست: دەقی داواکردنەکە دوای هەر هەنگاوێک — C:\Users\Aram>، C:\Users\Aram\entertainment>، C:\Users\Aram>، C:\>.
The same tree you see in File Explorer. Each cd moves your position; the prompt always shows where you are.هەمان درەخت کە لە ⁦File Explorer⁩ـدا دەیبینیت. هەر cdـێک شوێنەکەت دەگوازێتەوە؛ هەمیشە پیشان دەدات لە کوێیت.CêIT
Make a folder, go in, come back, remove itفۆڵدەرێک دروست بکە، بچۆ ناوی، بگەڕێوە، لای ببەBATType in a terminalلە تێرمیناڵدا بینووسە
md entertainment
cd entertainment
cd ..
rd entertainment
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 2

The prompt now ends with \entertainment> — that is the only sign cd worked.

ئێستا بە \entertainment> کۆتایی دێت — ئەمە تاکە نیشانەیە کە cd کاری کرد.

Lineدێڕی 4

rd works here because entertainment is still empty.

rd لێرەدا کار دەکات چونکە entertainment هێشتا بەتاڵە.

Quick checkپشکنینی خێراYou are in C:\Users\Aram\it and type rd it. What happens?لە C:\Users\Aram\itـدایت و rd it دەنووسیت. چی ڕوو دەدات؟

Files: copy, move, ren and delفایلەکان: copy، move، ren و del

CommandWhat it doesچی دەکات
copy notes.txt D:\BackupCopies a file to another folder. Without a new name the copy keeps the old one. Prints «1 file(s) copied.» کۆپی دەکات بۆ تر. بەبێ ناوی نوێ کۆپییەکە ناوە کۆنەکە دەهێڵێتەوە. «⁦1 file(s) copied⁩.» چاپ دەکات.
copy *.jpg D:\PhotosWith a wildcard: copies every .jpg file.لەگەڵ : هەموو ⁦.jpg⁩ کۆپی دەکات.
move notes.txt BackupMoves a file — or a whole folder — to a new place. — یان تەواو — دەگوازێتەوە بۆ شوێنێکی نوێ.
ren draft.txt final.txtRenames a file or folder. The new name has no drive or path: ren cannot move.ناوی یان دەگۆڕێت. ناوە نوێیەکە درایڤ یان نییە: ren ناتوانێت بگوازێتەوە.
del notes.txtDeletes a file for ever — it does not go to the Recycle Bin. بە یەکجاری دەسڕێتەوە — ناچێتە ناو .

Check the destination first. copy notes.txt D:\Backup puts the file into the folder D:\Backup only if that folder already exists. If it does not, copy makes a file called Backup — and with a wildcard (copy *.txt D:\Backup) it even joins all the files into that one file. Make the folder first with md D:\Backup.

سەرەتا شوێنی مەبەست بپشکنە. copy notes.txt D:\Backup دەخاتە ناو D:\Backup تەنها ئەگەر ئەو پێشتر هەبێت. ئەگەر نەبێت، copy بە ناوی Backup دروست دەکات — و لەگەڵ (copy *.txt D:\Backup) تەنانەت هەموو تێکەڵی ئەو یەک دەکات. سەرەتا بە md D:\Backup دروست بکە.

Quick checkپشکنینی خێراShilan types copy Project D:\Backup to back up her folder Project with its subfolders. What goes wrong?شیلان copy Project D:\Backup دەنووسێت بۆ Projectـەکەی بە ناوەوەیەوە. چی هەڵە دەبێت؟

MASTERING Command Prompt Basics! | TutorialSkill Foundry · Englishئینگلیزی · 202K viewsبینین · 4.6K likesلایک · Partبەشی 16:30–18:08 (ofلە 20:23)

Command Prompt beside File Explorer: read the prompt, go to the root with cd , list with dir, then rename, move and delete.

⁦Command Prompt⁩ لە تەنیشت ⁦File Explorer⁩: خوێندنەوەی ، چوون بۆ بە cd، لیستکردن بە dir، پاشان ، گواستنەوە و سڕینەوە.

Plays 16:30-18:08: ren, move (and how it differs from copy) and del, with File Explorer updating beside it; stops before rd /s /q.

لە ⁦16:30⁩ تا ⁦18:08⁩ پەخش دەبێت: ren، move (و جیاوازییەکەی لەگەڵ copy) و del، لە کاتێکدا ⁦File Explorer⁩ لە تەنیشتیەوە نوێ دەبێتەوە؛ پێش rd /s /q ڕادەوەستێت.

Files: copy, move, ren and delفایلەکان: copy، move، ren و del

del on a folderdel لەسەر فۆڵدەرێک

del on a folder name does not remove the folder: it deletes the files inside it after asking «Are you sure (Y/N)?», and the empty folder stays. Before using del with a wildcard, run dir with the same pattern to see exactly what will go.

del لەسەر ناوی لانابات: ناوی دەسڕێتەوە دوای پرسیاری «⁦Are you sure (Y/N)?⁩» و بەتاڵەکە دەمێنێتەوە. پێش بەکارهێنانی del لەگەڵ ، dir بە هەمان شێوە کار پێ بکە بۆ ئەوەی ڕێک ببینیت چی دەڕوات.

del on a folder empties it but keeps itdel لەسەر فۆڵدەرێک بەتاڵی دەکاتەوە بەڵام دەیهێڵێتەوەBATType in a terminalلە تێرمیناڵدا بینووسە
md aa
copy notes.txt aa
del aa
dir aa
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 3

Windows asks first, because every file in aa will be deleted.

Windows سەرەتا دەپرسێت، چونکە هەموو ناو aa دەسڕدرێنەوە.

Lineدێڕی 4

aa is still there, now with 0 files. Use rd aa to remove it.

aa هێشتا لە شوێنی خۆیەتی، ئێستا بە 0 . ⁦rd aa⁩ بەکار بهێنە بۆ لابردنی.

Quick checkپشکنینی خێراaa is a folder with three files in it. You type del aa and answer Y. What is left?aa کە سێ تێدایە. del aa دەنووسیت و وەڵامی Y دەدەیتەوە. چی دەمێنێتەوە؟

Lab: make and read a text fileتاقیگە: فایلێکی دەقی دروست بکە و بیخوێنەوە

You can write a small text file without any editor. copy con f1.txt means «copy from the console (your keyboard) into f1.txt». Type the lines, then press Ctrl + Z — it appears as ^Z, the old end-of-file mark — and Enter. Windows answers «1 file(s) copied.» Then type shows what is inside.

دەتوانیت بچووک بەبێ هیچ دەستکاریکەرێک بنووسیت. copy con f1.txt واتە «لە console (واتە ) کۆپی بکە بۆ ناو ⁦f1.txt⁩». دێڕەکان بنووسە، پاشان ⁦Ctrl + Z⁩ دابگرە — وەک ^Z دەردەکەوێت، نیشانەی کۆنی کۆتایی — و Enter. Windows وەڵام دەداتەوە «⁦1 file(s) copied⁩.» پاشان type ناوەڕۆکەکەی پیشان دەدات.

The course's lab, typed line by lineتاقیگەکەی کۆرسەکە، دێڕ بە دێڕ نووسراوBATType in a terminalلە تێرمیناڵدا بینووسە
md it
cd it
copy con f1.txt
hello it
how are you
^Z
type f1.txt
del f1.txt
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 3

con is the console: what you type next goes into f1.txt.

con کۆنسۆڵەکەیە: ئەوەی دواتر دەینووسیت دەچێتە ناو ⁦f1.txt⁩.

Lineدێڕی 4-5

These two lines are the file's text, not commands.

ئەم دوو دێڕە دەقی ، نەک .

Lineدێڕی 6

Press Ctrl + Z, then Enter. Ctrl + C instead would cancel and save nothing.

⁦Ctrl + Z⁩ دابگرە، پاشان ⁦Enter. Ctrl + C⁩ لە جیاتی ئەوە هەڵدەوەشێنێتەوە و هیچ شتێک پاشەکەوت ناکات.

Lineدێڕی 8

del removes the file again — for ever.

del دووبارە لادەبات — بە یەکجاری.

Animation in nine steps in a drawn terminal window. The prompt C:\Users\Aram> is followed by md it; then cd it, and the prompt becomes C:\Users\Aram\it>; then copy con f1.txt; the lines «hello it» and «how are you» are typed; ^Z appears; the answer «1 file(s) copied.»; type f1.txt prints the two lines; finally del f1.txt. The newest line is highlighted in each step.
Animation in nine steps in a drawn terminal window. The prompt C:\Users\Aram> is followed by md it; then cd it, and the prompt becomes C:\Users\Aram\it>; then copy con f1.txt; the lines «hello it» and «how are you» are typed; ^Z appears; the answer «1 file(s) copied.»; type f1.txt prints the two lines; finally del f1.txt. The newest line is highlighted in each step.
The copy con lab step by step.تاقیگەی ⁦copy con⁩ هەنگاو بە هەنگاو.CêIT

To edit the file comfortably, type notepad f1.txt: Notepad opens it.

بۆ دەستکاریکردنی بە ئاسانی، notepad f1.txt بنووسە: Notepad دەیکاتەوە.

Quick checkپشکنینی خێراAfter typing the two lines, what must you press to save them into f1.txt?دوای نووسینی دوو دێڕەکە، دەبێت چی دابگریت بۆ پاشەکەوتکردنیان لە ⁦f1.txt⁩ـدا؟

Ask the computer: ver, vol, date, timeپرسیار لە کۆمپیوتەر: ver، vol، date، time

Four questions to Windowsچوار پرسیار لە WindowsBATType in a terminalلە تێرمیناڵدا بینووسە
ver
vol
date /t
time /t
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 1

ver: the Windows version. Windows 11 still says 10.0; a build number of 22000 or more means Windows 11.

ver: وەشانی ⁦Windows. Windows 11⁩ هێشتا دەڵێت ⁦10.0⁩؛ ژمارەی buildـی ⁦22000⁩ یان زیاتر واتە ⁦Windows 11⁩.

Lineدێڕی 2

vol: the volume label (here «Windows») and serial number — or «has no label».

vol: ناوی (لێرەدا «Windows») و ژمارەی زنجیرەکەی — یان «⁦has no label⁩».

Lineدێڕی 3-4

/t prints the date or time and stops. The format follows your region settings.

/t بەروار یان کات چاپ دەکات و دەوەستێت. شێوەکەی بە پێی ڕێکخستنی ناوچەکەتە.

Without /t, date and time show the value and ask for a new one — exactly what the course's screenshot shows. Press Enter to keep it. Changing the clock needs an administrator; a normal window answers «A required privilege is not held by the client.»

بەبێ /t، date و time بەهاکە پیشان دەدەن و داوای بەهایەکی نوێ دەکەن — ڕێک ئەوەی وێنەکەی کۆرسەکە پیشانی دەدات. بۆ هێشتنەوەی Enter دابگرە. گۆڕینی کاتژمێر پێویستی بە بەڕێوەبەرە؛ ئاسایی وەڵام دەداتەوە «⁦A required privilege is not held by the client⁩.»

date and time without /t: press Enter at each questiondate و time بەبێ /t: لە هەر پرسیارێکدا Enter دابگرەBATType in a terminalلە تێرمیناڵدا بینووسە
date
time
Quick checkپشکنینی خێراKarwan wants to know how much free space drive C has. Which command answers?کاروان دەیەوێت بزانێت درایڤی C چەند شوێنی بەتاڵی هەیە. کام وەڵام دەداتەوە؟

PowerShell, Mac and LinuxPowerShell، Mac و Linux

PowerShell understands most of these names too, because it has aliases: dir, cd, copy, del and type are short names for its own commands. Its output looks different:

PowerShell زۆربەی ئەم ناوانەش تێدەگات، چونکە ناوی خوازراوی ⁦(alias)⁩ هەیە: dir، cd، copy، del و type ناوی کورتن بۆ خۆی. ئەنجامەکەی جیاواز دەردەکەوێت:

The same folder in PowerShell (dir and ls give the same)هەمان فۆڵدەر لە PowerShellـدا (dir و ls هەمان شت دەدەن)POWERSHELLType in a terminalلە تێرمیناڵدا بینووسە
Get-ChildItem
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 1

The prompt starts with PS. The d in the Mode column marks a folder, like <DIR> in Command Prompt.

بە PS دەست پێ دەکات. d لە ستوونی Modeـدا نیشان دەدات، وەک ⁦<DIR>⁩ لە ⁦Command Prompt⁩ـدا.

The same jobs in three shells (aliases in brackets)هەمان کارەکان لە سێ (ناوە خوازراوەکان لەناو کەوانەدا)
Command Promptلە ⁦Command Prompt⁩ـداPowerShellلە PowerShellـداmacOS and Linuxلە macOS و Linuxـدا
dirGet-ChildItem (dir, ls)ls
cd folderSet-Location (cd)cd folder
md folderNew-Item -ItemType Directory (md, mkdir)mkdir folder
rd folderRemove-Item (rd, rmdir)rmdir folder
copy a bCopy-Item (copy, cp)cp a b
move a bMove-Item (move, mv)mv a b
ren a bRename-Item (ren)mv a b
del fileRemove-Item (del, rm)rm file
type fileGet-Content (type, cat)cat file
clsClear-Host (cls, clear)clear
dir /?Get-Help Get-ChildItemman ls
Quick checkپشکنینی خێراOn a Mac, which command lists the files in the current folder?لە Macـدا کام ناو ئێستا لیست دەکات؟

Windows Powershell vs Command Prompt: What's The Difference Anyway?ThioJoe · Englishئینگلیزی · 873K viewsبینین · 29K likesلایک · Partبەشی 0:35–7:18 (ofلە 13:31)

How PowerShell differs from Command Prompt: objects instead of text, cmdlets, and aliases that let old commands like dir still work.

PowerShell چ جیاوازییەکی لەگەڵ ⁦Command Prompt⁩ هەیە: لە جیاتی دەق، cmdletـەکان و ئەو ناوە جێگرەوانەی وا دەکەن کۆنی وەک dir هێشتا کار بکەن.

Plays 0:35-7:18: what differs, PowerShell commands and aliases.

لە ⁦0:35⁩ تا ⁦7:18⁩ پەخش دەبێت: جیاوازییەکان، PowerShell و ناوە جێگرەوەکان ⁦(aliases)⁩.

Common mistakesهەڵە باوەکان

  • Typing the prompt. Type only what comes after >. If you copy a whole line from a lesson, delete the C:\Users\Aram> part.
  • Spaces in names without quotes. dir My Projects looks for two things, «My» and «Projects». Write dir "My Projects". (cd forgives a missing quote; most commands do not.)
  • Thinking del is safe. del, rd /s and the command line in general skip the Recycle Bin. Run dir with the same name or wildcard first.
  • rd on a full folder. «The directory is not empty.» Delete the files first, or use rd /s — carefully.
  • copy for a folder. Use xcopy /s /e /i or robocopy /e.
  • Copying to a folder that does not exist. copy then makes a file with that name. Create the folder with md first.
  • A typo in the command name. Command Prompt answers «'dri' is not recognized as an internal or external command, operable program or batch file.» Check the spelling and press ↑ to fix the line.
  • نووسینی . تەنها ئەوە بنووسە کە دوای > دێت. ئەگەر دێڕێکی تەواو لە وانەیەکەوە کۆپی دەکەیت، بەشی C:\Users\Aram> بسڕەوە.
  • بۆشایی لە ناوەکاندا بەبێ کۆتەیشن. dir My Projects بەدوای دوو شتدا دەگەڕێت، «My» و «Projects». بنووسە dir "My Projects". (cd لە کۆتەیشنی ونبوو دەبوورێت؛ زۆربەی نابوورن.)
  • وابزانیت del سەلامەتە. del، ⁦rd /s⁩ و بە گشتی بەسەر باز دەدەن. سەرەتا dir بە هەمان ناو یان کار پێ بکە.
  • rd لەسەر پڕ. «⁦The directory is not empty⁩.» سەرەتا بسڕەوە، یان ⁦rd /s⁩ بەکار بهێنە — بە ئاگاییەوە.
  • copy بۆ . ⁦xcopy /s /e /i⁩ یان ⁦robocopy /e⁩ بەکار بهێنە.
  • بۆ کە بوونی نییە. ئەو کاتە copy بەو ناوە دروست دەکات. سەرەتا بە md دروست بکە.
  • هەڵەی نووسین لە ناوی . ⁦Command Prompt⁩ وەڵام دەداتەوە «'⁦dri' is not recognized as an internal or external command, operable program or batch file⁩.» ڕێنووسەکە بپشکنە و ↑ دابگرە بۆ چاککردنی دێڕەکە.
Quick checkپشکنینی خێراWhich command shows exactly which files del *.tmp would delete, without deleting anything?کام ڕێک پیشان دەدات del *.tmp کام دەسڕێتەوە، بەبێ سڕینەوەی هیچ شتێک؟

Exercisesڕاهێنانەکان

Exerciseڕاهێنان1. Match the commands١. فەرمانەکان بەراورد بکە

Cover the right-hand column of the command table and say what each command does: help, dir, cd, cd.., md, rd, copy, move, ren, del, type, ver, vol, date, time.

ستوونی ڕاستی خشتەی دابپۆشە و بڵێ هەر چی دەکات: help، dir، cd، cd..، md، rd، copy، move، ren، del، type، ver، vol، date، time.

Show answerوەڵامەکە پیشان بدە
CommandWhat it doesچی دەکات
helpShows the list of commands, or help for one commandلیستی پیشان دەدات، یان یارمەتی بۆ یەک
dirLists the files and folders of a directory و ناو لیست دەکات
cdChanges the current directory ئێستا دەگۆڕێت
cd..Goes to the parent directoryدەچێت بۆ دایک
mdMakes a directory دروست دەکات
rdRemoves an empty directory بەتاڵ لادەبات
copyCopies files کۆپی دەکات
moveMoves files or folders یان دەگوازێتەوە
renRenames a file or folderناوی یان دەگۆڕێت
delDeletes files (no Recycle Bin) دەسڕێتەوە (بەبێ )
typeShows the contents of a text fileناوەڕۆکی پیشان دەدات
verShows the Windows versionوەشانی Windows پیشان دەدات
volShows the volume label and serial numberناو و ژمارەی زنجیرەی پیشان دەدات
dateShows (and can set) the dateبەروار پیشان دەدات (و دەتوانێت دیاری بکات)
timeShows (and can set) the timeکات پیشان دەدات (و دەتوانێت دیاری بکات)
Exerciseڕاهێنان2. The full lab٢. تاقیگەی تەواو

In your user folder: make a folder lab2, go into it, create names.txt with copy con containing three names, show it with type, go back up, and remove lab2. What happens if you type rd lab2 while names.txt is still inside?

لە بەکارهێنەرەکەتدا: بە ناوی lab2 دروست بکە، بچۆ ناوی، بە ⁦copy con⁩ names.txt دروست بکە کە سێ ناوی تێدابێت، بە type پیشانی بدە، بگەڕێوە سەرەوە و lab2 لاببە. ئەگەر rd lab2 بنووسیت لە کاتێکدا ⁦names.txt⁩ هێشتا لەناویدایە چی ڕوو دەدات؟

Show answerوەڵامەکە پیشان بدە
BATType in a terminalلە تێرمیناڵدا بینووسە
md lab2
cd lab2
copy con names.txt
Aram
Shilan
Karwan
^Z
type names.txt
cd ..
rd lab2
del lab2\names.txt
rd lab2
Explain the codeڕوونکردنەوەی کۆدەکە
Lineدێڕی 10

The first rd fails: lab2 still holds names.txt.

یەکەم rd سەرناکەوێت: ⁦lab2⁩ هێشتا ⁦names.txt⁩ـی تێدایە.

Lineدێڕی 11-12

Delete the file, then rd works. (rd /s lab2 would do both after asking.)

بسڕەوە، پاشان rd کار دەکات. (⁦rd /s lab2⁩ هەردووکیان دەکات دوای پرسیار.)

Exerciseڕاهێنان3. Predict the answer٣. وەڵامەکە پێشبینی بکە

What does Command Prompt print after each command? (a) md photos (b) dir *.exe in a folder with no .exe files (c) vol (d) date (without /t).

⁦Command Prompt⁩ دوای هەر چی چاپ دەکات؟ (أ) md photos (ب) dir *.exe لە کە هیچ ⁦.exe⁩ـی تێدا نییە (ج) vol (د) date (بەبێ /t).

Show answerوەڵامەکە پیشان بدە
  • (a) Nothing — the prompt simply comes back.
  • (b) The volume lines, «Directory of …» and then «File Not Found».
  • (c) «Volume in drive C is …» (or «has no label») and «Volume Serial Number is …».
  • (d) «The current date is: …» and «Enter the new date:» — press Enter to keep it.
  • (أ) هیچ — تەنها دەگەڕێتەوە.
  • (ب) دێڕەکانی ، «⁦Directory of⁩ …» و پاشان «⁦File Not Found⁩».
  • (ج) «⁦Volume in drive C is⁩ …» (یان «⁦has no label⁩») و «⁦Volume Serial Number is⁩ …».
  • (د) «⁦The current date is⁩: …» و «⁦Enter the new date⁩:» — بۆ هێشتنەوەی Enter دابگرە.
Exerciseڕاهێنان4. Wildcards٤. هێماکانی جێگرەوە

Write one command for each: (a) list every Word document (.docx) whose name starts with cv; (b) copy every .png file to D:\Pictures; (c) list files named report1 to report9 with any extension.

بۆ هەریەکەیان یەک بنووسە: (أ) هەموو ⁦Word (.docx)⁩ لیست بکە کە ناوەکەی بە cv دەست پێ دەکات؛ (ب) هەموو ⁦.png⁩ کۆپی بکە بۆ D:\Pictures؛ (ج) ئەو لیست بکە کە ناویان ⁦report1⁩ تا ⁦report9⁩ـە بە هەر .

Show answerوەڵامەکە پیشان بدە
BATType in a terminalلە تێرمیناڵدا بینووسە
dir cv*.docx
copy *.png D:\Pictures
dir report?.*

Summaryپوختە

  • A shell (Command Prompt or PowerShell) runs typed commands; Windows Terminal is the window that hosts it. MS-DOS was a command-driven interface.
  • The prompt C:\Users\Aram> shows the drive and the current folder. Type after it, press Enter; case does not matter.
  • help, help dir and dir /? explain commands. dir lists one folder: <DIR> = folder, sizes in bytes, 0 = empty file.
  • d: switches drives; dir with a path lists another folder; * and ? are wildcards (dir *.exe, not *.*.exe).
  • md, cd, cd .., cd \ and rd (empty folders only) print nothing when they work.
  • copy copies files (xcopy or robocopy for folders); move moves files and folders; ren renames; del deletes for ever.
  • copy con file, Ctrl + Z, Enter writes a text file; type reads it. ver = Windows version; vol = label and serial (not size); date /t and time /t just show.
  • (⁦Command Prompt⁩ یان PowerShell) نووسراوەکان جێبەجێ دەکات؛ ⁦Windows Terminal⁩ بریتییە لەو کە هەڵیدەگرێت. ⁦MS-DOS⁩ بوو کە بە کاری دەکرد.
  • C:\Users\Aram> درایڤ و ئێستا پیشان دەدات. دوای ئەو بنووسە، Enter دابگرە؛ پیتی گەورە و بچووک گرنگ نییە.
  • help، ⁦help dir⁩ و ⁦dir /?⁩ ڕوون دەکەنەوە. dir یەک لیست دەکات: ⁦<DIR>⁩ = ، قەبارە بە ، 0 = بەتاڵ.
  • d: درایڤ دەگۆڕێت؛ dir لەگەڵ تر لیست دەکات؛ * و ? (dir *.exe، نەک *.*.exe).
  • md، cd، cd ..، cd \ و rd (تەنها بەتاڵ) کاتێک کار دەکەن هیچ چاپ ناکەن.
  • copy کۆپی دەکات (xcopy یان robocopy بۆ )؛ move و دەگوازێتەوە؛ ren ناو دەگۆڕێت؛ del بە یەکجاری دەسڕێتەوە.
  • ⁦copy con file⁩، ⁦Ctrl + Z⁩، Enter دەنووسێت؛ type دەیخوێنێتەوە. ver = وەشانی Windows؛ vol = ناو و ژمارەی زنجیرە (نەک قەبارە)؛ ⁦date /t⁩ و ⁦time /t⁩ تەنها پیشان دەدەن.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

Word Processing Essentialsبنەماکانی بەرنامەی نووسینی دەق

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.