原始背景位置是否有Windows注册表项? [英] Is there a windows registry entry for the original background location?

查看:178
本文介绍了原始背景位置是否有Windows注册表项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有Windows注册表项用于原始背景位置? 在"HKEY_CURRENT_USER \ Control Panel \ Desktop"处,值"Wallpaper"为"C:\ Users \ CURRENTUSER \ AppData \ Roaming \ Microsoft \ Windows \ Themes \ TranscodedWallpaper.jpg".

Is there a windows registry entry for the original background location? At "HKEY_CURRENT_USER\Control Panel\Desktop", the value "Wallpaper" is "C:\Users\CURRENTUSER\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper.jpg".

推荐答案

这实际上取决于墙纸的放置方式.

It actually depends how the wallpaper got there.

在Windows 7上,当通过控制面板设置墙纸并启用墙纸幻灯片显示时,该功能就起作用:

This works on Windows 7, when the wallpaper is set via the control panel and wallpaper slideshows are enabled:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General\WallpaperSource

但是,在其他情况下,该密钥可能不存在或过时.

In other situations, however, that key may not exist or may be stale.

(忽略它在路径中具有"Internet Explorer"的事实.谁知道这是为什么,但是不涉及IE!)

(Ignore the fact it has "Internet Explorer" in the path. Who knows why that is, but IE isn't involved!)

(FWIW,我在制作桌面上下文菜单(通过VBScript)以删除当前壁纸时发现/使用了此功能.如果有用,在这里.

(FWIW, I found/used this when making a desktop context menu (via VBScript) to delete the current wallpaper. Here it is if it's useful.)

这篇关于原始背景位置是否有Windows注册表项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆