How to make a batch file as effective as the shortcut to it.

Joined
Apr 6, 2015
Messages
334
Reaction score
10
I have a batch file with the code

sfc /scannow

When I click on the shortcut to it, a CMD window opens and the process (visibly) runs.

But when I double click the actual batch file, there is a brief flash of something happening
which I presume is the process starting and being aborted.

How can I make the actual batch file have the same effect as the shortcut to it ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top