Skip to main content
Senior III
Jul 7, 2025 12:22 PM UTC
Solved

How to delete old .launch files

Whenever i rename a project. launch file is created and a number of. launch files are generated for each project name, is it possible that automatically that the old launch files are deleted, i can delete manually but just checking if it can be deleted automatically as soon i rename the project. 

This topic has been closed for replies.
Semer CHERNI
Semer CHERNIBest answer
ST Employee
Jul 9, 2025 10:52 AM UTC

Hello @STuser2 

First let me thank you for posting.

The launch file take it's name from the debug Debug Session name:

SemerCHERNI_0-1752058279961.png

Also to delete the launch file you just delete the debug configuration having the same name.

KR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

2 replies

KnarfB
Super User
Jul 7, 2025 1:22 PM UTC

Haven't seen any automatic delete on renaming. In fact, one can have several launch files for different configurations, so there is not necessarily a 1:1 relation between .lauch name(s) and project name.

hth

KnarfB

Semer CHERNI
Semer CHERNIBest answer
ST Employee
Jul 9, 2025 10:52 AM UTC

Hello @STuser2 

First let me thank you for posting.

The launch file take it's name from the debug Debug Session name:

SemerCHERNI_0-1752058279961.png

Also to delete the launch file you just delete the debug configuration having the same name.

KR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.