•Arnošt Havelka
Practical: File Mgmt
Real-world scenario: Organize your downloads folder.
Start Interactive LessonPractical: File Management
A messy Downloads folder is a universal problem. In this scenario, we will use move, ren (rename), del (delete), and mkdir (make directory) to organize a chaotic folder.
The Mission
You have a Downloads folder filled with mixed files: images (.jpg), documents (.pdf), and temporary installers (.tmp). Your goal is to sort them into subfolders and delete the trash.
Step 1: Create Organization Folders
First, let's create destinations for our files.
Command Prompt
C:\Users\User>md Images Documents
Step 2: Move Images
Move all .jpg files into the Images folder.
Command Prompt
C:\Users\User>move *.jpg Images
Step 3: Move Documents
Move all .pdf files into the Documents folder.
Command Prompt
C:\Users\User>move *.pdf Documents
Step 4: Rename a File
You notice a document named draft_v1.txt that should be final.
Command Prompt
C:\Users\User>ren draft_v1.txt final_report.txt
Step 5: Clean Up Trash
Finally, delete all .tmp files.
Command Prompt
C:\Users\User>del *.tmp
Knowledge Check
1 / 3Which command moves files?