哪里是在Windows 8壁纸的注册表项? [英] Where's the wallpaper registry key in Windows 8?

查看:229
本文介绍了哪里是在Windows 8壁纸的注册表项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,需要获得当前用户的壁纸路径的工具。

I'm working on a tool that needs to get the current user's wallpaper path.

在Windows 7中,我可以通过阅读

On Windows 7, I can get that by reading

HKEY_CURRENT_USER \软件\微软\的Internet Explorer \桌面\常规\ WallpaperSource

在我的Windows 8安装时,该键的值总是

On my Windows 8 installation, that key always has the value

C:\ Users \用户彼得\应用程序数据\漫游\微软\ Windows照片查看器\ Windows照片查看器Wallpaper.jpg

这是不是即使是当前设置的墙纸。

which is not even the wallpaper that's currently set.

有没有其他的按键,我可以依靠?

Is there any other key I can rely on?

推荐答案

你提的关键是不正确的。声音对我说,你放一张图片作为桌面背景从Internet Explorer,而且关键是打开进行注册。

The key you are mentioning isn't the correct one. Sounds to me that you've placed an image as your desktop background from Internet Explorer, and that key was opened to register it.

正确的密钥来获得桌面背景的位置是: 证实:XP,CE,Vista中,7,8

HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper

详细信息:

  • 在主项:HKEY_CURRENT_USER
  • 子键:控制面板\桌面
  • 值名称:Wallpaper
  • 数值类型:REG_SZ
  • 在数值数据:的图像完整路径被用作桌面背景
  • Main key: HKEY_CURRENT_USER
  • Sub key: Control Panel\Desktop
  • Value name: WallPaper
  • Value type: REG_SZ
  • Value data: full path for the image being used as the desktop background

此外,根据 HKEY_CURRENT_USER \控制面板\桌面\ ,你会发现其他的壁纸相关的选项,以应用不同的样式:中心,瓷砖,和拉伸

Also, under HKEY_CURRENT_USER\Control Panel\Desktop\ you will find other wallpaper related options to apply different styles: Center, Tile, and Stretch.

HKEY_CURRENT_USER\Control Panel\Desktop\WallpaperStyle
HKEY_CURRENT_USER\Control Panel\Desktop\TileWallpaper

为了应用样式使用以下指南:

  1. 中心

  1. Center

WallpaperStyle = 0
TileWallpaper = 0

  • 瓷砖

  • Tile

    WallpaperStyle = 0
    TileWallpaper = 1
    

  • 弹力

  • Stretch

    WallpaperStyle = 2
    TileWallpaper = 0
    

  • 这篇关于哪里是在Windows 8壁纸的注册表项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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