Type any word!

"dir" in Vietnamese

dir (lệnh)

Definition

'dir' là lệnh trong Command Prompt của Windows để hiển thị danh sách các tập tin và thư mục trong một thư mục. Nó thường được dùng để xem nội dung của một thư mục cụ thể.

Usage Notes (Vietnamese)

'dir' chỉ dùng trên Windows, không dùng cho Linux hay MacOS (chúng dùng 'ls'). Có thể gõ thêm tuỳ chọn như 'dir /w', 'dir /p'. Đây là thuật ngữ kỹ thuật, không dùng trong giao tiếp thông thường.

Examples

Type dir to see all the files in this folder.

Gõ **dir** để xem tất cả các tập tin trong thư mục này.

The dir command lists the contents of a directory in Windows.

Lệnh **dir** liệt kê nội dung của thư mục trên Windows.

To check if your file is there, just use dir.

Để kiểm tra xem file của bạn có ở đó không, chỉ cần dùng **dir**.

I couldn't remember the file name, so I ran dir to look through the list.

Tôi không nhớ tên file nên đã chạy **dir** để xem danh sách.

You can add options to dir like '/p' to make the list easier to read.

Bạn có thể thêm tuỳ chọn như '/p' vào **dir** để danh sách dễ đọc hơn.

If you're using Linux, remember dir won't work—try 'ls' instead.

Nếu bạn dùng Linux, nhớ là **dir** sẽ không hoạt động—hãy thử 'ls' thay thế.