# /NoSubfolders

Source: https://help.malighting.com/grandMA3/2.3/HTML/ok_nosubfolders.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the **/NoSubfolders **option keyword in the command line, use one of the options:

- Type **/NoSubfolders**
- Type the shortcut** /Nos**

## Description

The /NoSubfolders option keyword is used to exclude subfolders when importing library files or listing libraries. 

|                                            |                                       |
| ------------------------------------------ | ------------------------------------- |
| ![](/img/grandma3/2-3/tip_gray-269535.png) | **Hint:**                             |
|                                            | Subfolders are created by the users.  |

## Syntax

\[Function] \[Object] \["Object\_Name" or Object\_Number] /NoSubfolders

## General Keywords

General keywords that use the /NoSubfolders option keyword:

- [List keyword](/grandma3/2-3/keyword_list/)
- [Import keyword](/grandma3/2-3/keyword_import/)

## Examples

- To only show color themes in the main folders when listing, type:

|                                                                    |                                                    |
| ------------------------------------------------------------------ | -------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>List ColorTheme /NoSubfolders  |

 

It might as well happen that there are two files with the same name located in the main folder and a subfolder. 

- To import the macro library file "bestmacro.xml" located in the main folder, type:

|                                                                    |                                                                                               |
| ------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Import Macro Library "bestmacro.xml" At Macro 5 If Drive 2 /NoSubfolders  |