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
startin front of the dropbox. So now it readsstart "C:\Users\Name\AppData\Roaming\Dropbox\bin\Dropbox.exe"but I'm still getting a persistent cmd window that I have to manually close. Like I said, I don't care if it shows up I just want it to close automatically when it's done. – Richard May 20 '14 at 17:46