I'm unsure as to what your purpose is in using this shutdown command, but if you're trying to create a quick shutdown method then it is not necessary to do so using a batch file. You can instead create a new shortcut and enter the command as the shortcut's location. Assuming you are using Windows 7 or later, the proper syntax (depending on what it is you want to do) would be as follows:
shutdown:
shutdown.exe /s /t 00
restart:
shutdown.exe /r /t 00
hibernate:
shutdown.exe /h
Click next, enter the appropriate name of the shortcut type and then click finish. You can of course add to or change the commands as needed.
Also, the sfc /scannow command is a System File Checker tool which is used to scan for and replace/repair any missing or corrupted system files. It's not necessary to use in this particular case. As the previous poster mentioned, this is definitely a false positive, and in any case if you still choose to run the command via .bat or .exe, you'll most likely need to add the file to the exclusions list in Avast. Just be sure that you are using the proper syntax.