level 1
张睿ray3245
楼主
新人制作的win7自带游戏进度清理器,请大师指点。
代码如下:
@echo off
subst j: "C:\Users\Ray\AppData\Local\Microsoft Games"
title win7自带游戏进度清理器-1.7.0
:start
cls
echo 1代表Chess Titans
echo 2代表Mahjong Titans
echo 3代表Purble Place
echo 4代表红心大战
echo 5代表扫雷
echo 6代表蜘蛛纸牌
echo 7代表纸牌
echo 8代表空当接龙
echo 9代表全删
set /p choice=请输入您要删的游戏进度:
if /i '%choice%'=='1' goto main1
if /i '%choice%'=='2' goto main2
if /i '%choice%'=='3' goto main3
if /i '%choice%'=='4' goto main4
if /i '%choice%'=='5' goto main5
if /i '%choice%'=='6' goto main6
if /i '%choice%'=='7' goto main7
if /i '%choice%'=='8' goto main8
if /i '%choice%'=='9' goto main9
:main1
cls
del /q "j:\ChessT~1"
goto exit
:main2
cls
del /q "j:\Mahjon~1"
goto exit
:main3
cls
title win7自带游戏进度清理器-1.7.0-Purble Place游戏进度删除
echo 你要删除哪个游戏?
echo 1代表翻牌记忆游戏
echo 2代表做蛋糕游戏
echo 3代表猜外形游戏
echo 4代表全删
set /p game=请输入您要删的游戏进度:
if /i '%game%'=='1' goto main31
if /i '%game%'=='2' goto main32
if /i '%game%'=='3' goto main33
if /i '%game%'=='4' goto main34
:main31
cls
del /q "j:\Purble~1\ConcentrationScoresAndSettings.xml"
del /q "j:\Purble~1\ConcentrationScoresAndSettings.xml.bak"
goto exit
:main32
cls
del /q "j:\Purble~1\ComfyCakesScoresAndSettings.xml"
del /q "j:\Purble~1\ComfyCakesScoresAndSettings.xml.bak"
goto exit
:main33
cls
del /q "j:\Purble~1\PurbleShopScoresAndSettings.xml"
del /q "j:\Purble~1\PurbleShopScoresAndSettings.xml.bak"
goto exit
:main34
cls
del /q "j:\Purble~1"
goto exit
:main4
cls
del /q j:\Hearts
goto exit
:main5
cls
del /q j:\Minesweeper
goto exit
:main6
cls
del /q "j:\Spider~1"
goto exit
:main7
cls
del /q j:\Solitaire
goto exit
:main8
cls
del /q j:\FreeCell
goto exit
:main9
cls
del /q j:\FreeCell
del /q j:\Solitaire
del /q "j:\Spider~1"
del /q j:\Minesweeper
del /q j:\Hearts
del /q "j:\Purble~1"
del /q "j:\Mahjon~1"
del /q "j:\ChessT~1"
goto exit
:exit
cls
title win7自带游戏进度清理器-1.7.0-退出界面
echo 请问还要继续清理吗?
echo 1代表继续
echo 2代表退出
set /p real=请输入您的选择:
if /i '%real%'=='1' goto start
if /i '%real%'=='2' goto realexit
:realexit
cls
subst /d j:
title win7自带游戏进度清理器-1.7.0-即将退出
echo 下次再会!
ping 127.0.0.1 -n 4 >nul
exit
2017年11月05日 07点11分
1
代码如下:
@echo off
subst j: "C:\Users\Ray\AppData\Local\Microsoft Games"
title win7自带游戏进度清理器-1.7.0
:start
cls
echo 1代表Chess Titans
echo 2代表Mahjong Titans
echo 3代表Purble Place
echo 4代表红心大战
echo 5代表扫雷
echo 6代表蜘蛛纸牌
echo 7代表纸牌
echo 8代表空当接龙
echo 9代表全删
set /p choice=请输入您要删的游戏进度:
if /i '%choice%'=='1' goto main1
if /i '%choice%'=='2' goto main2
if /i '%choice%'=='3' goto main3
if /i '%choice%'=='4' goto main4
if /i '%choice%'=='5' goto main5
if /i '%choice%'=='6' goto main6
if /i '%choice%'=='7' goto main7
if /i '%choice%'=='8' goto main8
if /i '%choice%'=='9' goto main9
:main1
cls
del /q "j:\ChessT~1"
goto exit
:main2
cls
del /q "j:\Mahjon~1"
goto exit
:main3
cls
title win7自带游戏进度清理器-1.7.0-Purble Place游戏进度删除
echo 你要删除哪个游戏?
echo 1代表翻牌记忆游戏
echo 2代表做蛋糕游戏
echo 3代表猜外形游戏
echo 4代表全删
set /p game=请输入您要删的游戏进度:
if /i '%game%'=='1' goto main31
if /i '%game%'=='2' goto main32
if /i '%game%'=='3' goto main33
if /i '%game%'=='4' goto main34
:main31
cls
del /q "j:\Purble~1\ConcentrationScoresAndSettings.xml"
del /q "j:\Purble~1\ConcentrationScoresAndSettings.xml.bak"
goto exit
:main32
cls
del /q "j:\Purble~1\ComfyCakesScoresAndSettings.xml"
del /q "j:\Purble~1\ComfyCakesScoresAndSettings.xml.bak"
goto exit
:main33
cls
del /q "j:\Purble~1\PurbleShopScoresAndSettings.xml"
del /q "j:\Purble~1\PurbleShopScoresAndSettings.xml.bak"
goto exit
:main34
cls
del /q "j:\Purble~1"
goto exit
:main4
cls
del /q j:\Hearts
goto exit
:main5
cls
del /q j:\Minesweeper
goto exit
:main6
cls
del /q "j:\Spider~1"
goto exit
:main7
cls
del /q j:\Solitaire
goto exit
:main8
cls
del /q j:\FreeCell
goto exit
:main9
cls
del /q j:\FreeCell
del /q j:\Solitaire
del /q "j:\Spider~1"
del /q j:\Minesweeper
del /q j:\Hearts
del /q "j:\Purble~1"
del /q "j:\Mahjon~1"
del /q "j:\ChessT~1"
goto exit
:exit
cls
title win7自带游戏进度清理器-1.7.0-退出界面
echo 请问还要继续清理吗?
echo 1代表继续
echo 2代表退出
set /p real=请输入您的选择:
if /i '%real%'=='1' goto start
if /i '%real%'=='2' goto realexit
:realexit
cls
subst /d j:
title win7自带游戏进度清理器-1.7.0-即将退出
echo 下次再会!
ping 127.0.0.1 -n 4 >nul
exit