win7自带游戏进度清理器
bat吧
全部回复
仅看楼主
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
level 1
张睿ray3245 楼主
会不定期更新,敬请关注!
2017年11月05日 11点11分 2
level 9
代码非常冗余且程序没有兼容性
2017年11月05日 12点11分 3
level 1
张睿ray3245 楼主
1.8.0版本:
@echo off
for /f "tokens=2" %%i in ("%information%") do set sys1=%%i
titie win7自带游戏进度清理器-1.8.0-注意
echo 只有win7以上系统(含win7)才适配本清理器!确认无误后按任意键继续!
echo.
echo.
echo.
echo 当前系统:%sys1%
pause
subst j: "C:\Users\Ray\AppData\Local\Microsoft Games"
title win7自带游戏进度清理器-1.8.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.8.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.8.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.8.0-即将退出
echo 下次再会!
ping 127.0.0.1 -n 4 >nul
exit
2017年11月05日 12点11分 4
level 1
顶顶
[真棒]加油
2017年11月08日 04点11分 5
level 13
顶顶[滑稽]
2017年11月16日 03点11分 6
level 11
试试%appdata%
2017年11月19日 01点11分 8
level 8
谁有j盘啧,,[冷]
2017年12月13日 10点12分 9
1