---
title: File Management
slug: file-management
description: Standard options for handling GPC and GPJ files.
icon: ◼️
docTags: 
createdAt: 2021-12-04T16:02:44.000Z
---

Standard options for handling GPC and GPJ files.

::Image[]{src="https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/H2sYQs0kRfLVudcpwp5BW_image.png" size="76" width="618" height="542" position="center" darkWidth="618" darkHeight="542" showCaption="false"}

:::hint{type="info"}
**File Types:**

**.GPC** is the scripting language for all Cronus devices.&#x20;
**.GPJ** is a project file that includes a collection of GPC scripts.
:::

# New

To create a new file, select **File 👉 New** and a sub-menu will open offering a number of options including templates of sample scripts to illustrate some basic structures of the GPC programming language.

## Empty File

As the name implies, this option creates a blank file that opens as a new TAB in the Compiler window.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/95swCSbu6LO4W_KygiLbS_2022-03-299-39-42.jpg)

## GPC Script

Create a blank GPC Script by generating the main function which opens as a new TAB in the Compiler window.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/p-fCwDzK4O_0JHLTS8DM6_2022-03-299-42-19.jpg)

## Remap Sample

Create a sample Remap GPC Script which opens as a new TAB in the Compiler window.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/CcIbo2ODXZPXw4-R_tobJ_2022-03-299-43-46.jpg)

## Combo Rapid Fire

Create a sample Combo Rapid Fire GPC Script which opens as a new TAB in the Compiler window.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/7uj6eOPTjcKCp1UTH7Nlu_rp.jpg)

# Open...

To open a GPC Script or GPJ Project file, select **File 👉 Open** (CTRL + O). An 'Open Script or Project'  dialog will appear and you can select one or multiple files to open. Each file will be opened in an individual compiler tab, if a file was already opened, its corresponding compiler tab will auto select.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/zJO8GRRWkcEesodNE46nY_image.png)

## Add File To Project

All opened GPC scripts can be saved into a single project file (GPJ). A project file is an easy way to recall the currently opened GPC files.
To add a gpc file to a project, an existing project must first be open in the compiler (see image below).

::Image[]{src="https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/F6EH_PBkjTfIZ-zAbb4Xf_image.png" size="74" width="533" height="40" position="flex-start" darkWidth="533" darkHeight="40" showCaption="false"}

Select **File 👉 Add File To Project** and a 'Add a File To The Current Project' dialog will appear asking you to select a .gpc script file. You can also click on the 'Add File' button.

# Save

To save a GPC Script file, select **File 👉 Save** (CTRL + S). If the script has not been previously saved, a 'Save Script As' dialog will appear asking you to choose a destination and filename. If the file exists, it will be overwritten.

:::hint{type="danger"}
**Important:&#x20;**&#x4D;ake sure you select the TAB or click inside the compiler window to focus on the script you wish to save. If the script is not selected, the Save & Compile options will not be available.
:::

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/DmnTm4avrmPuXdpT_pByA_image.png)

:::hint{type="info"}
**Info:** To indicate that a GPC file was changed and has not yet been saved, **an asterisk(\*)** will be displayed in its tab, after the filename.
:::

::Image[]{src="https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/Lgbdfk8re33-VHxVjAu0__image.png" size="88" width="591" height="151" position="flex-start" darkWidth="591" darkHeight="151" showCaption="false"}

## Save As...

To save an existing GPC Script or GPJ Project file to a different file or location, select **File 👉 Save As...** A 'Save Script As' dialog will appear asking you to choose a destination and filename.

## Save All

To save all open GPC Scripts, select **File 👉 Save All**. A 'Save Script As' dialog will appear asking you to choose a destination and filename for each of the scripts that are open in **Compiler**.

# Save Project

All opened GPC scripts can be saved into a single project file (GPJ). A project file is an easy way to recall the currently opened GPC files.

To save a GPJ Project file, first, make sure all the scripts you wish to include in the project are saved, then select **File 👉 Save Project**. If the project has not been previously saved, a 'Save Project As' dialog will appear asking you to choose a destination and filename. If the file exists, it will be overwritten.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/c4vni9scptfa8gUZJrlbG_image.png)

## Save Project As...

To save an existing GPJ Project file to a different file or location, select **File 👉 Save Project As...** A 'Save Project As' dialog will appear asking you to choose a destination and filename.

# Close

To close a GPC Script, highlight the TAB in the Compiler that you wish to close and select **File 👉 CLOSE**.  You can also click on the X in the right corner of the TAB.

If you have any unsaved data in a GPC file, Zen Studio will always ask if you'd like to save those changes before closing any file.

::Image[]{src="https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/AJZat5RloyS62hq3UIuR6_image.png" size="54" width="358" height="128" position="flex-start" darkWidth="358" darkHeight="128" showCaption="false"}

## Close All

To close all files in the Compiler, select **File 👉 Close All.**

## Close Project

To close the open project file in the Compiler, select **File 👉 Close Project.**

# Recent Files

Zen Studio keeps a list of the 10 most recently opened files in the **File 👉 Recent Files** menu, so you can reopen them quickly by simply clicking on the file name.

# Relaunch as Admin

Zen Studio requires full Windows Administrator permissions. If a Windows install has a restricted or corrupt profile, it can prevent the software from functioning correctly. A solution to this is to open Zen Studio in Admin Mode, this is easily done by selecting **File 👉 Relaunch as Admin**

If you have any open TABS in the Compiler, you will get a warning message to close those TABS.

::Image[]{src="https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/lYUdJ7pbxK8ZSTCnIZW2Z_image.png" size="60" width="407" height="147" position="flex-start" darkWidth="407" darkHeight="147" showCaption="false"}

If Zen Studio has started in Admin Mode successfully, you will see **\[ADMIN]** displayed in the Title Bar.

![](https://api.archbee.com/api/optimize/IwUlH55FdaPsVELSqm1Fc/KSUrXBvMViauuKwZL1n09_2022-03-2910-06-42.jpg)

# Exit

Close the Zen Studio Software. 😜

