<![CDATA[Messages posted by "xtuong"]]> /hvaonline/posts/listByUser/214288.html JForum - http://www.jforum.net Lệnh for trong Dos (file *.bat) Code:
echo off
echo.
MD "D:\Backup\"
echo
FOR /F %%G IN ('NET LOCALGROUP "POWER USERS"') DO xcopy /e "C:\Documents and Settings\%%G" "D:\Backup\"
pause
echo.
cls
]]>
/hvaonline/posts/preList/44796/276163.html#276163 /hvaonline/posts/preList/44796/276163.html#276163 GMT
Lệnh for trong Dos (file *.bat) Code:
echo off
echo.
MD "D:\Backup\"
echo
FOR /F %%G IN ('NET LOCALGROUP "POWER USERS"') DO xcopy /s /e "%%G" "D:\Backup\"
pause
echo.
cls
nhưng khi chạy nó báo file not found . ]]>
/hvaonline/posts/preList/44796/276146.html#276146 /hvaonline/posts/preList/44796/276146.html#276146 GMT
Lệnh for trong Dos (file *.bat) /hvaonline/posts/preList/44796/276141.html#276141 /hvaonline/posts/preList/44796/276141.html#276141 GMT Lệnh for trong Dos (file *.bat) Code:
FOR /D %%G IN ('NET LOCALGROUP POWERUSER') DO ECHO %%G
]]>
/hvaonline/posts/preList/44796/276138.html#276138 /hvaonline/posts/preList/44796/276138.html#276138 GMT