# Unreal Insights CLI: How to export to folders with spaces in path? 

**URL:** <https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-to-folders-with-spaces-in-path/2660843>\
**Category:** Programming & Scripting\
**Tags:** Unreal-Insights, unreal-engine, question\
**Created:** [September 29, 2025, 1:05pm UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-to-folders-with-spaces-in-path/2660843 "2025-09-29T13:05:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dev03347](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev03347](https://forums.unrealengine.com/u/Dev03347)\
**Post date:** [September 29, 2025, 1:05pm UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-to-folders-with-spaces-in-path/2660843/1 "2025-09-29T13:05:51Z")

</div>

I’m trying to export a `.utrace` with UE Insights via command line. The export works if the output path has no spaces, but fails if the folder name contains spaces.

Example (works):

```auto
"C:\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealInsights.exe" 
  -OpenTraceFile="C:\dev\Unreal\CitySample\Test.utrace" 
  -NoUI -log -AutoQuit 
  -ExecOnAnalysisCompleteCmd="TimingInsights.ExportThreads C:\dev\Unreal\CitySample\My_CSV\ExportThreads.csv"

```

Example (fails because of space in folder name):

```auto
"C:\Epic Games\UE_5.6\Engine\Binaries\Win64\UnrealInsights.exe" 
  -OpenTraceFile="C:\dev\Unreal\CitySample\Test.utrace" 
  -NoUI -log -AutoQuit 
  -ExecOnAnalysisCompleteCmd="TimingInsights.ExportThreads C:\dev\Unreal\CitySample\My CSV\ExportThreads.csv"

```

It looks like I can’t wrap the path in quotes because `ExecOnAnalysisCompleteCmd` is already wrapped in quotes, which causes a conflict.

Is there a way to export to folders with spaces in their path using Unreal Insights CLI?

---

<div class="post-metadata">

**Author:** ![IMDiafera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IMDiafera](https://forums.unrealengine.com/u/IMDiafera)\
**Post date:** [September 30, 2025, 10:21am UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-to-folders-with-spaces-in-path/2660843/2 "2025-09-30T10:21:37Z")

</div>

To be able to use spaces in exporting paths, you can use a response file. Example:

Write the export script in a _export.rsp_ text file like:

```javascript
TimingInsights.ExportThreads "D:/Tests/Folder with Spaces/ExportThreads.csv"
TimingInsights.ExportTimingEvents "D:/Tests/Folder with Spaces/TimingEvents – [{region}].csv" -threads="GameThread" -timers="*" -region="Editor.*"

```

And run UnrealInsights with

```javascript
UnrealInsights.exe
    -OpenTraceFile="C:\dev\Unreal\CitySample\Test.utrace"
    -NoUI -log -AutoQuit
    -ExecOnAnalysisCompleteCmd="@=%cd%\Folder with Spaces\export.rsp"

```

---

<div class="post-metadata">

**Author:** ![Dev03347](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev03347](https://forums.unrealengine.com/u/Dev03347)\
**Post date:** [October 1, 2025, 8:15am UTC](https://forums.unrealengine.com/t/unreal-insights-cli-how-to-export-to-folders-with-spaces-in-path/2660843/3 "2025-10-01T08:15:44Z")

</div>

It works, many thanks !
