I am trying to run a bat file on startup (running Windows 8.1) that will change the permission of the temp folder and then run dropbox. The bat file executes properly on startup and does what I want but the cmd window appears and just stays there with the commands showing. I have to manually close the window for it to go away but other than that it works fine.
So is there a way for me to suppress the window. Here is the batch file code:
@ECHO OFF
echo y| CACLS "C:\Users\Name\AppData\Local\Temp" /grant Everyone:F
"C:\Users\Name\AppData\Roaming\Dropbox\bin\Dropbox.exe"
exit