To delete autorun.inf with hidden attributes in each partition C..D..E.....J using a batch file, you can use a loop like this:
```batch
@echo off
for %%i in (C D E F G H I J) do (
if exist %%i:\autorun.inf (
attrib -s -h -r %%i:\autorun.inf
del /f /q %%i:\autorun.inf
)
)
```
This batch file loops through each drive from C to J, checks if autorun.inf exists on that drive, removes the hidden, system, and read-only attributes, and then deletes the file.
```batch
@echo off
for %%i in (C D E F G H I J) do (
if exist %%i:\autorun.inf (
attrib -s -h -r %%i:\autorun.inf
del /f /q %%i:\autorun.inf
)
)
```
This batch file loops through each drive from C to J, checks if autorun.inf exists on that drive, removes the hidden, system, and read-only attributes, and then deletes the file.
