5

i wrote a batch script to delete shortcut virus from a usb drive and to display the hidden folder and files.

@ECHO OFF
TITLE SHORTCUT VIRUS REMOVER
ECHO SHORTCUT VIRUS TEMPORARY REMOVER
ECHO THIS TOOL IS MADE BY BHARGAB(MAXYSPARK)
SET /P DRIVE=ENTER THE DRIVE LEETER 
CD /D %DRIVE%:
DEL *.LNK
ATTRIB -H -R -S /S /D /L %DRIVE%:\*.*
PAUSE

but after converting the batch(.bat) file to .exe file using Bat To Exe Converter the .exe file is detected as Trojan Virus Why???? Screenshot Of Windows defender

I've allowed the file in Windows defender.

4

1 回答 1

10

这是因为您还没有将它们转换为适合您机器的正确架构。我在使用相同的防病毒软件时遇到了同样的问题,并且通过转换为 x64 而不是 x32(默认)来修复它

于 2015-08-29T20:04:40.393 回答