十六进制的 Windows 位置?

标签 windows dos

我正在查看雨量计皮肤的源代码,但我无法理解:

TextShortcut1=Computer
TextShortcut2=Libraries
TextShortcut3=Internet
TextShortcut4=Media Player
TextShortcut5=Control Panel
TextShortcut6=Trash
TextShortcut7=ShutDown

TextPath1=::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
TextPath2=shell:Libraries
TextPath3=http://google.com
TextPath4=shell:MusicLibrary
TextPath5=::{21EC2020-3AEA-1069-A2DD-08002b30309d}
TextPath6=::{645FF040-5081-101B-9F08-00AA002F954E}
TextPath7=rundll32.exe user32.dll LockWorkStation

谁能告诉我是什么

::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
::{21EC2020-3AEA-1069-A2DD-08002b30309d}
::{645FF040-5081-101B-9F08-00AA002F954E}

这些是

以及我们如何从我们的计算机中获取特定位置的其中一个。

最佳答案

那些是 CLSID(Windows 类标识符)。操作系统中的某些特殊文件夹由唯一字符串标识。

20D04FE0-3AEA-1069-A2D8-08002B30309D is My Computer
21EC2020-3AEA-1069-A2DD-08002b30309d is Control Panel
645FF040-5081-101B-9F08-00AA002F954E is Recycle Bin

来源:

http://www.sevenforums.com/tutorials/110919-clsid-key-list-windows-7-a.html

回应评论:

can i have Class Identifiers for any folder on Computer or is it just the bunch of those.

您没有太多理由添加更多的 clsid,因为您只需键入正常路径即可转到其他位置。这是一个设置列表,位于注册表某处,用于特殊文件夹,这些文件夹实际上没有像 C:\windows 那样的“路径”。

what is "shell:Something" is it a cmd command or location

外壳:与上面类似。这是访问特殊文件夹的便捷方式。这是一个列表的好网站:http://smallvoid.com/article/winnt-shell-keyword.html .它更像是 Windows 资源管理器访问特定位置的快捷方式,而不是命令。据我所知,您不能在批处理文件中使用它们(没有命令行内容)。

what is %something% like %temp%

那些是环境变量。您通常可以依赖某些现有的,但用户可以更改这些。以下是更多列表:http://en.wikipedia.org/wiki/Environment_variables#Microsoft_Windows

how do they all differ?

嗯,基本上,它们只是访问同一事物的不同方式。有些东西比其他东西更向后兼容,所以你必须在时机成熟时做出选择。如果您知道您的应用程序将在 Windows 7 及更高版本上运行,您可以使用一些更方便的 shell:something 。但如果它需要在 Windows 2000 上运行,您可能不得不更多地依赖旧的东西,如环境变量。用户也可以自定义环境变量。

关于十六进制的 Windows 位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17679785/

相关文章:

windows - 安装错误的驱动程序后恢复Windows和/或系统还原

c++ - 自定义流实用程序

windows - recv() 没有时间从 Win 7 上的套接字接收所有 UDP 数据包?

c++ - 声音多线程

variables - DOS子字符串,其中Length为变量

dos - MS-DOS 如何获取命令的输出作为变量

windows - Puppet 每次运行都安装 Visual Studio

c++ - 在 Visual Studio 中将单精度浮点与 FFTW 结合使用

assembly - 在 MASM 汇编程序 (x86) 中访问命令行参数

python - 普通口齿不清 : Launch subprocess with different working directory than lisp process