@marcelo-olivares, google translated what you wrote as:

"hello, who can help me to close folders and programs, such as word"

To close a program you can use the taskkill command.

This command will close Word:

taskkill /im winword.exe

This command will close all Windows Explorer windows:

cmd /c "taskkill /f /im explorer.exe && start explorer"