备份 |y7#D9m
-------------------------------------------------------------------------------------------------------------------------------------- evHKq}{
@echo off
QX393v!
rem get current date and time siGt5RH*
for /f "tokens=1, 2, 3, 4 delims=-/. " %%j in ('Date /T') do set FILENAME=srv_%%j_%%k_%%l_%%m s)|l-I
for /f "tokens=1, 2 delims=: " %%j in ('TIME /T') do set FILENAME=%FILENAME%_%%j_%%k.bat g/m%A2M&aH
%GDs/9
rem get all service name pn2_ {8.
sc query type= service state= all| findstr /r /C:"SERVICE_NAME:" >tmpsrv.txt -%)8=
echo Save Service Start State In %FILENAME% K\>CXa
rem save service start state into batch file \)T4NN
rem |CjE}5Op>
[KjL`
echo @echo Restore The Service Start State Saved At %TIME% %DATE% >"%FILENAME%" S#,
E)h/
echo @pause >>"%FILENAME%" a0x/ ?)DO
&