What is a subdirectory?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
French
English
ไทย
German
繁體中文
Country
Hi
All
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Save up to an extra 20% on Think everyday pricing.
• Spend $15K, advance for FREE to Plus Tier with increased benefits.
Plus Tier Benefits
• Save up to an extra 25% on Think everyday pricing.
• Spend $50K, advance for FREE to Elite Tier with increased benefits.
Elite Tier Benefits
• Save up to an extra 30% on Think everyday pricing.
Reseller Benefits
• Access to Lenovo's full product portfolio
• Configure and Purchase at prices better than Lenovo.com
View All Details >
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Hamburger Menu
{"backgroundColor":"#e6f4fa","sideMsg":"","data":[{"bannerInfo":{"t_id":"Page1ff6ee29-6ab8-4901-b7c9-3b7b18fd7449","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ENeed%20Help%3F%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20href%3D%22tel%3A0800%20446%20833%20Option%20%232%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ECall%20us%20on%200800%20446%20833%20Option%20%232%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3Bor%26nbsp%3B%3C%2Fspan%3E%3Ca%20target%3D%22_self%22%20href%3D%22https%3A%2F%2Finside.chat%2FLenovoNZ%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3Echat%20with%20us%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3Bfor%20order%20related%20help%20and%20access%20to%20special%20deals!%3C%2Fspan%3E%3C%2Fp%3E","en":""},"id":"Page1ff6ee29-6ab8-4901-b7c9-3b7b18fd7449"}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagee96d377d-d2ee-4534-a46c-efd41e80772e","language":{"en_nz":"%3Cp%3E%3Cimg%20src%3D%22https%3A%2F%2Fp3-ofp.static.pub%2Ffes%2Fcms%2F2022%2F09%2F20%2Fsgy8gw8u4tymopd8g2224x0drocvbb133978.png%22%20alt%3D%22zip-logo%22%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3BWanting%20to%20use%20ZIP%3F%20Chat%20with%20us%20or%20call%20us%20on%200800%20446%20833%20option%232%3C%2Fspan%3E%3C%2Fp%3E","en":""},"id":"Pagee96d377d-d2ee-4534-a46c-efd41e80772e"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagee04d57b5-c8f6-4eab-ae95-882fa6f2a7ea","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3C%2Fspan%3E%3Cstrong%3ELenovo%20Education%3C%2Fstrong%3E%20%7C%20Register%20to%20unlock%20savings%20%26amp%3B%20benefits%20on%20study-friendly%20PCs%20and%20accessories.%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cbr%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EJoin%20Lenovo%20Edu%3C%2Fa%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3B%7C%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fen%2Flenovo-edu%2Fstudent%2Fbenefits%2F%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EAbout%20Edu%3C%2Fa%3E%3C%2Fp%3E","en":""},"id":"Pagee04d57b5-c8f6-4eab-ae95-882fa6f2a7ea"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page9229a0ca-154b-48a2-bafe-18b30a80f9c1","language":{"en_nz":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cstrong%3EClearance%20Sale%3C%2Fstrong%3E%26nbsp%3B%7C%20%26nbsp%3BLast%20chance%20to%20save%20BIG%20on%20selected%20PCs%2C%20monitors%20and%20accessories.%3C%2Fspan%3E%3Cbr%20style%3D%22text-wrap%3A%20wrap%3B%22%2F%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fen%2Fd%2Fdeals%2Fclearance-sale%2F%3FipromoID%3Dnz_hello_bar_clearance%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22text-wrap%3A%20wrap%3B%20color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3EShop%20Deals%3C%2Fa%3E%3C%2Fp%3E","en":""},"id":"Page9229a0ca-154b-48a2-bafe-18b30a80f9c1"},"gInfo":""}],"autoRun":true,"displayTerminal":"pc,tablet,mobile"}


What is a subdirectory?

A subdirectory is a directory or folder located within another directory. It is like a smaller division or category within a larger directory structure. You can think of it as a folder within a folder.

How do I create a subdirectory?

To create a subdirectory, you first need to navigate to the parent directory where you want to create the subdirectory. Once you are in the parent directory, you can use the command specific to your operating system. For example, in Windows, you can right-click on the parent directory, select "new," and then choose "folder" to create a new subdirectory.

Why would I want to use subdirectories?

Subdirectories are useful for organizing files and folders within a directory structure. They allow you to group related files together, making it easier to locate and manage them. For example, if you are working on a programming project, you can create subdirectories for source code, documentation, and resources to keep everything organized.

How do I access a subdirectory?

To access a subdirectory, you need to specify its path relative to the current directory. For example, if you are in the parent directory and want to access a subdirectory named "images," you would use the path "images" or "./images" (depending on the operating system). If you are in a different directory, you would need to provide the full path to the subdirectory.

Can I create a subdirectory within a subdirectory?

Yes, you can create a subdirectory within a subdirectory, effectively creating nested or nested subdirectories. This allows you to further organize your files and folders into multiple levels of hierarchy. Each subdirectory can have its own subdirectories, forming a tree-like structure

What happens if I move to a subdirectory?

If you move a subdirectory to a different location within the same directory structure, its path will be updated accordingly. However, if you move a subdirectory to a different parent directory, it becomes a subdirectory of the new parent directory. The path to access it would change accordingly.

Can I have multiple subdirectories with the same name?

Yes, you can have multiple subdirectories with the same name if they are in different parent directories. Each subdirectory is identified by its path, which includes the names of all the parent directories leading to it. So, the full path to a subdirectory ensures its uniqueness.

How do I delete a subdirectory?

To delete a subdirectory, you need to navigate to its parent directory and use the appropriate command to delete it. In most operating systems, you can right-click on the subdirectory and choose the "delete" or "remove" option. Alternatively, you can use command-line tools like "rm" in Unix-based systems or "rmdir" in Windows.

Can I rename a subdirectory?

Yes, you can rename a subdirectory by selecting it and choosing the "rename" option in your file explorer. Alternatively, you can use command-line tools to rename the subdirectory. Remember that renaming a subdirectory will update its path accordingly, and any references to the old name may need to be updated too.

How can I list all the subdirectories within a directory?

To list all the subdirectories within a directory, you can use the appropriate command in your operating system's command-line interface. For example, in Windows, you can use the "dir" command with the "/ad" flag, which stands for "directories only." In Unix-based systems, you can use the "ls" command with the "-d" flag to list directories only.

Can I access files in a subdirectory without specifying the full path?

Yes, if you are already in the parent directory, you can access files in a subdirectory without specifying the full path. You can simply include the subdirectory name followed by the file name in your file operations. For example, if you are in the parent directory and want to open a file named "data.txt" in a subdirectory called "documents," you can simply use "documents/data.txt" to access it.

How can I move multiple subdirectories at once?

To move multiple subdirectories at once, you can use various methods depending on your operating system. One common approach is to select multiple subdirectories using a file explorer or command-line interface and then drag and drop them to the desired destination folder. Alternatively, you can use command-line tools with appropriate syntax to move multiple subdirectories simultaneously.

Can I set permissions for subdirectories separately from their parent directory?

Yes, you can set permissions for subdirectories separately from their parent directory. Most operating systems provide mechanisms for managing permissions at both the directory and file levels. This allows you to control access to specific subdirectories and their contents independently of the parent directory.

How can I find the path of a subdirectory?

To find the path of a subdirectory, you can navigate to it using a file explorer or command-line interface, and then check the address bar or use the appropriate command to display the current directory's path. The path will include the names of all the parent directories leading to the subdirectory.

Is it possible to share a subdirectory with others over a network?

Yes, it is possible to share a subdirectory with others over a network, depending on your operating system and network setup. You can configure sharing permissions and access rights to allow other users on the network to access and interact with the files and subdirectories within the shared subdirectory.

Can I search for files within a specific subdirectory?

Yes, you can search for files within a specific subdirectory using various methods. Most operating systems provide search functionality that allows you to specify the search scope, including the option to search within a particular directory or subdirectory. Additionally, command-line tools often provide search capabilities with parameters to filter the search to a specific subdirectory.

How can I check the size of a subdirectory?

To check the size of a subdirectory, you can use the appropriate command in your operating system's command-line interface. For example, in Windows, you can use the "dir" command with the "/s" flag to display the size of the subdirectory and its contents. In Unix-based systems, you can use the "du" command with the "-sh" flag to show the summarized size of the subdirectory.

Can I create subdirectories within subdirectories indefinitely?

In theory, you can create subdirectories within subdirectories indefinitely. However, in practice, there are practical limitations due to file system restrictions and system performance. As the depth of the directory tree increases, it can become more challenging to navigate and manage the files and directories efficiently.

{"pageComponentDataId":"8be139aba72e3-4860-99ca-6ba970e0d706","isAssociatedRelease":"true","pageComponentDataLangCode":"en_au","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"21kccto1wwnz5","language":{"en_nz":"21kccto1wwnz5","en_au":"21kccto1wwau5","en":""},"id":"Page4260753e-143c-43ae-bd9b-84ae5d0f0dec"}},{"number":{"t_id":"21mccto1wwnz3","language":{"en_nz":"21mccto1wwnz3","en_au":"21mccto1wwau3","en":""},"id":"Page6638705e-acca-4f80-8b27-2e84f2716f0f"}},{"number":{"t_id":"21lkcto1wwnz3","language":{"en_nz":"21lkcto1wwnz3","en_au":"21lkcto1wwau3","en":""},"id":"Page760db0cd-85b7-4d63-b8d8-e3bb500322b5"}},{"number":{"t_id":"21g2cto1wwnz3","language":{"en_nz":"21g2cto1wwnz3","en_au":"21g2cto1wwau3","en":""},"id":"Pagee12208cf-23fd-418f-9456-aae9d4ad753c"}}]},"urlPrefix":"AAAAAAAHAAAB","title":"glossary-right-blue-boxes-fragment","pageId":"e462edae-186e-4421-8743-19efc53941fa","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","tplId":"65b55929-de05-417a-a92a-ccb888d329b0","pageComponentUuid":"e857fdeft7e51-4b61-84dc-bccec6e68e00","targetUser":"0"}
coming coming
Starting at
List Price
Web Price
Web Price:
List Price
Web Price
List Price is Lenovo’s estimate of product value based on the industry data, including the prices at which first and third-party retailers and etailers have offered or valued the same or comparable products. Third-party reseller data may not be based on actual sales.
Web Price is Lenovo’s estimate of product value based on industry data, including the prices at which Lenovo and/or third-party retailers and e-tailers have offered or valued the same or comparable products. Third-party data may not be based on actual sales.
Learn More
See More
See Less
View {0} Model
View {0} Models
Part Number:
Features
See More
See Less
compare
Added!
Great choice!
You may compare up to 4 products per product category (laptops, desktops, etc). Please de-select one to add another.
View Your Comparisons
Add To Cart
Add To Cart
We're sorry,
Products are temporarily unavailable.
Continue shopping
Learn More
Coming Soon
Featured Product
Best Deals of the Day
Oops! No results found. Visit the categories above to find your product.
Save
open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x