I’m trying to get Windows (10/11) startup folder location in a system whose language is French.
Normally, I use this command to get the folder location:
set "startupFolder=%APPDATA%MicrosoftWindowsStart MenuProgramsStartup"
echo %startupFolder%
But when system language is French, the folder path is like below:
"%APPDATA%MicrosoftWindowsMenu DémarrerProgrammesDémarrage"
How can I make sure my command will return startup folder location in all languages, not just English or French?