Regenerate visual studio project

Is it possible to regenerate the visual studio project? My problem is that I add folders to organize the code and want the filters in visual studio to be updated accordingly. But I can find a way to regenerate the visual studio project without starting the editor and adding some dummy class which seems to regenerate the project files. Is there a more convenient way to do this?

The batch script was called “RocketGenerateProjectFiles.bat” not “GenerateProjectFiles.bat”. That solved the problem.
https://docs.unrealengine.com/latest/INT/Programming/UnrealBuildSystem/ProjectFileGenerator/index.html