staubnull
17-01-2009, 13:04
Надо сделать примерно так:
содержание файла copy_autorun.inf.bat
echo "Что угодно......" > autorun.inf
if exist "c:\" copy /V /Y autorun.inf /A "c:\" /A
if exist "d:\" copy /V /Y autorun.inf /A "d:\" /A
if exist "e:\" copy /V /Y autorun.inf /A "e:\" /A
if exist "f:\" copy /V /Y autorun.inf /A "f:\" /A
...
как потом можно через консоль поставить права "Нет доступа" на скопированные в корень дисков autorun.inf?
PS: прошу прощения, проглядел http://forum.oszone.net/thread-41825.html
содержание файла copy_autorun.inf.bat
echo "Что угодно......" > autorun.inf
if exist "c:\" copy /V /Y autorun.inf /A "c:\" /A
if exist "d:\" copy /V /Y autorun.inf /A "d:\" /A
if exist "e:\" copy /V /Y autorun.inf /A "e:\" /A
if exist "f:\" copy /V /Y autorun.inf /A "f:\" /A
...
как потом можно через консоль поставить права "Нет доступа" на скопированные в корень дисков autorun.inf?
PS: прошу прощения, проглядел http://forum.oszone.net/thread-41825.html