cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting the "Recent files" list from STM32CubeProgrammer (Windows)

EThom.3
Associate III

I was about to ask about this, but suddenly figured it out.

My goal was to delete old irrelevant stuff from the "File path" drop-down box in STM32CubeProgrammer / Erasing & Programming, but it wasn't obvious how to do that. Now that I've figured it out, I want to share it with the community.

STM32CubeProgrammer file path.png

On Windows computers (at least mine), the recent file list is not placed in Windows registry, but in a text file. The file to edit is config.properties, located in C:\Users\{user name}\STMicroelectronics\STM32CubeProgrammer.

Config properties file.png

Recent files with complete paths are listed at the parameter downloadFileList, separated with commas. Simply delete those you no longer want there (or all), and save the file. Next time you open STM32CubeProgrammer, only the files you left in the list are available in the drop-down box.

I don't know if it is necessary, but I made the change while STM32CubeProgrammer was not running. My guess is, that if the file is edited while the application is running, the changes made will be overwritten when the application is closed.

Enjoy.

1 REPLY 1
Aziz BRIGUI
ST Employee

Hello @EThom.3

Yes you're correct ! config.properties contains cached values used by STM32CubeProgrammer. If you modify the file when STM32CubeProgrammer is running it will be overwritten once STM32CubeProgrammer is closed.

Thanks for sharing ! 

Aziz 


In order 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.