China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-28 10:49
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Share] My Partial Collection of Batch Scripts View 82,448 Replies 1,173
Floor 181 Posted 2007-03-05 02:55 ·  中国 广东 深圳 龙岗区 电信
新手上路
Credits 9
Posts 6
Joined 2006-12-19 02:58
19-year member
UID 73904
Gender Male
From uiui
Status Offline
Okay... I also want to learn too~~~~~~~~~~~~~~~~~~~~~~~~~!!1
Floor 182 Posted 2007-03-05 04:16 ·  中国 河南 郑州 电信
新手上路
Credits 14
Posts 7
Joined 2007-02-13 10:11
19-year member
UID 79383
Gender Male
Status Offline
Floor 183 Posted 2007-03-05 04:16 ·  中国 河南 郑州 电信
新手上路
Credits 14
Posts 7
Joined 2007-02-13 10:11
19-year member
UID 79383
Gender Male
Status Offline
fffffffffffffffffffffffff
Floor 184 Posted 2007-03-05 04:16 ·  中国 河南 郑州 电信
新手上路
Credits 14
Posts 7
Joined 2007-02-13 10:11
19-year member
UID 79383
Gender Male
Status Offline
Floor 185 Posted 2007-03-05 09:14 ·  中国 重庆 电信
新手上路
Credits 2
Posts 1
Joined 2007-02-26 07:02
19-year member
UID 80200
Gender Male
Status Offline
Good things should be shared by everyone!!!
Floor 186 Posted 2007-03-05 11:55 ·  中国 湖北 宜昌 长阳土家族自治县 电信
新手上路
Credits 12
Posts 6
Joined 2007-03-05 11:26
19-year member
UID 80835
Gender Female
Status Offline
Good stuff
Floor 187 Posted 2007-03-05 12:32 ·  中国 湖北 荆门 电信
初级用户
Credits 25
Posts 13
Joined 2007-03-05 12:06
19-year member
UID 80839
Gender Male
Status Offline
I'm a newbie, can't download... So depressed
Floor 188 Posted 2007-03-06 09:47 ·  中国 安徽 阜阳 电信
初级用户
Credits 42
Posts 19
Joined 2006-12-28 01:20
19-year member
UID 74752
Gender Male
Status Offline
I have no points and can't download. 5555555555555
Floor 189 Posted 2007-03-06 10:16 ·  中国 黑龙江 牡丹江 电信
中级用户
★★
Credits 216
Posts 129
Joined 2007-02-14 07:26
19-year member
UID 79469
Gender Male
Status Offline
Great, all accepted, learning...
Floor 190 Posted 2007-03-06 10:41 ·  中国 甘肃 平凉 电信
新手上路
Credits 12
Posts 6
Joined 2007-03-06 10:10
19-year member
UID 80911
Gender Male
Status Offline
Thanks for the provision, learning.
Floor 191 Posted 2007-03-06 12:37 ·  中国 上海 静安区 电信
新手上路
Credits 2
Posts 1
Joined 2007-02-18 10:29
19-year member
UID 79743
Status Offline
Hehe, accepted..
Floor 192 Posted 2007-03-06 12:40 ·  中国 广东 佛山 顺德区 电信
初级用户
Credits 24
Posts 11
Joined 2007-03-06 07:06
19-year member
UID 80892
Gender Male
Status Offline
Floor 193 Posted 2007-03-06 23:36 ·  中国 安徽 淮南 电信
新手上路
Credits 4
Posts 2
Joined 2007-03-06 23:00
19-year member
UID 80935
Gender Male
Status Offline
@echo off
color a
title Shutdown Program
:sta
cls
echo.
echo.
echo.
echo Shutdown Program
echo.
echo.
echo 1. Log Off Computer
echo.
echo 2. Restart Computer
echo.
echo 3. Schedule Shutdown of Computer
echo.
echo 4. Cancel Scheduled Shutdown
echo.
echo 0. Return to Main Menu
echo.
set no=:
set /p no= Please select:
set "no=%no:"=%"
if "%no%"=="0" goto _0
if "%no%"=="1" goto _1
if "%no%"=="2" goto _2
if "%no%"=="3" goto _3
if "%no%"=="4" goto _4
:_0
cls
goto sta
:_1
cls
set no=:
set /p yn=Confirm execution (y/n):
set "no=%noyn"=%"
if "%yn%"==y "shutdown -l" rem Why does this part continue to execute the title after execution
:_2
shutdown -r -t 0

:_3
set no=:
echo If the entered number is 0, it will return to the main menu
set /p tim= Please enter shutdown time:
set "no=%no:"=%"
if "%tim%"=="0" goto sta
shutdown -s -t %tim%
:_4
shutdown -a
rem This mark will execute automatically
Floor 194 Posted 2007-03-06 23:38 ·  中国 安徽 淮南 电信
新手上路
Credits 4
Posts 2
Joined 2007-03-06 23:00
19-year member
UID 80935
Gender Male
Status Offline
@echo off
color a
title Shutdown Program
:sta
cls
echo.
echo.
echo.
echo Shutdown Program
echo.
echo.
echo 1. Log Off Computer
echo.
echo 2. Restart Computer
echo.
echo 3. Schedule Shutdown of Computer
echo.
echo 4. Cancel Scheduled Shutdown
echo.
echo 0. Return to Main Menu
echo.
set no=:
set /p no= Please select:
set "no=%no:"=%"
if "%no%"=="0" goto _0
if "%no%"=="1" goto _1
if "%no%"=="2" goto _2
if "%no%"=="3" goto _3
if "%no%"=="4" goto _4
:_0
cls
goto sta
:_1
cls
set no=:
set /p yn=Confirm execution (y/n):
set "no=%noyn"=%"
if "%yn%"==y "shutdown -l" rem Why does this section continue to execute the title after execution
:_2
shutdown -r -t 0

:_3
set no=:
echo If the entered number is 0, it will return to the main menu
set /p tim= Please enter shutdown time:
set "no=%no:"=%"
if "%tim%"=="0" goto sta
shutdown -s -t %tim%
:_4
shutdown -a
rem This mark will execute automatically
Floor 195 Posted 2007-03-07 00:31 ·  中国 江苏 苏州 电信
新手上路
Credits 4
Posts 2
Joined 2007-03-07 00:03
19-year member
UID 80941
Gender Male
Status Offline
‹ Prev 1 11 12 13 14 15 79 Next ›
Forum Jump: