1

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
Richard
  • 155

1 Answers1

2

Create a shortcut to the batch file and put this into your startup items. Edit the properties of the shortcut to run minimized...

You can't suppress the window entirely.

Kinnectus
  • 10,906
  • 3
  • 32
  • 41