# File Management

Zen Studio provides standard file management tools for handling **GPC scripts** and **GPJ project files**.

### File Types

***

**.GPC**\
GPC scripting language file used by Cronus devices.

**.GPJ**\
Project file containing a collection of GPC scripts.

## Creating Files

***

Navigate to **File → New** to access the following options:

#### Empty File

Creates a blank file in a new compiler tab.

#### GPC Script

Creates a new GPC script template including the `main` function.

#### Remap Sample

Creates a sample remapping script template.

#### Combo Rapid Fire

Creates a sample rapid-fire combo script template.

## Opening Files

***

#### Open…

**File → Open (Ctrl + O)**

Open one or multiple GPC or GPJ files.\
Each file opens in a separate compiler tab.\
If already open, the existing tab is selected.

## Project Management

***

### Add File to Project

Adds a `.gpc` file to the currently open project (.GPJ).

Requirements:\
• A project must already be open.

Use:\
**File → Add File to Project**

### Save Project

Saves all currently included scripts into a single GPJ project file.

Before saving:\
• Ensure all individual scripts are saved.

### Save Project As…

Save the current project under a new name or location.

### Close Project

Closes the currently open project file.

## Saving Files

***

#### Save (Ctrl + S)

Saves the active script.

If the file is new, a destination prompt appears.\
If it exists, it will be overwritten.

**Important:**\
The script tab must be selected (focused), otherwise Save and Compile options are unavailable.

Unsaved changes are indicated by an **asterisk (\*)** in the tab name.

#### Save As…

Save the active script or project under a new name or location.

#### Save All

Saves all open scripts.

## Closing Files

***

#### Close

Closes the selected tab.\
Unsaved changes will trigger a confirmation prompt.

#### Close All

Closes all open compiler tabs.

***

## Recent Files

Zen Studio stores the 10 most recently opened files under:

**File → Recent Files**

***

## Relaunch as Admin

Zen Studio requires full Windows Administrator privileges.

If permissions are restricted:

**File → Relaunch as Admin**

If successful, **\[ADMIN]** will appear in the title bar.

Note:\
Open tabs must be closed before relaunching.

***

## Exit

Closes Zen Studio.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.cronuszen.com/zen-studio/file-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
