vbs或用批处理设置壁纸

[复制链接]
查看11 | 回复2 | 2013-7-21 20:49:14 | 显示全部楼层 |阅读模式
on error resume nextSet fso = CreateObject("Scripting.FileSystemObject")set args = wscript.argumentsif args.count1 or not(fso.FolderExists(args(0))) then set sh = createobject("shell.application")set fol = sh.browseforfolder(0,"选择包含位图片的目录",0,"e:\")if fol is nothing then wscript.quitset fol = fol.selfpt = fol.pathelse pt = ar...
回复

使用道具 举报

千问 | 2013-7-21 20:49:14 | 显示全部楼层
@echo offtitle 正在更换桌面echo 正在添加注册表项目...set regadd=reg add "HKEY_CURRENT_USER\\Control Panel\\Desktop%regadd%" /v TileWallpaper /d "0" /f%regadd%" /v Wallpaper /d "%cd%\\Desktop...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行