CODE: [Copy to clipboard]
@echo off
set select=C:\Documents and Settings\Administrator
if exist "%select%\My Documents\Desktop.ini" goto shell1
echo [DeleteOnCopy]>"%select%\My Documents\Desktop.ini"
echo Owner=Administrator>>"%select%\My Documents\Desktop.ini"
echo Personalized=5>>"%select%\My Documents\Desktop.ini"
echo PersonalizedName=My Documents>>"%select%\My Documents\Desktop.ini"
attrib "%select%\My Documents\Desktop.ini" +s +h>nul 2>nul
:shell1
pause
前删掉我的文档中的Desktop.ini,然后执行这个批处理,我发现会报“Personalized=”,莫名其妙!可是在5后加个空格居然就成功了。这是为什么??与它上下的两行有无空格则都可以呀!