<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; WSH: перечень предопределённых символьных имён Shell.Application]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=3768</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=3768&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «WSH: перечень предопределённых символьных имён Shell.Application».]]></description>
		<lastBuildDate>Mon, 19 Oct 2009 05:18:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[WSH: перечень предопределённых символьных имён Shell.Application]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=29418#p29418</link>
			<description><![CDATA[<p><strong>Перечень предопределённых символьных имён объекта Shell.Application.</strong></p><p>Эти имена могут использоваться в разных методах объекта Shell (таких как .Namespace(), .ShellExecute(), .Open(), .Explore(), .BrowseForFolder()) без указания непосредственного пути в пространстве файловой системы на эти системные и пользовательские папки. Этот перечень соответствует числовым значениям, перечисленным в <a href="http://www.script-coding.com/WSH/Shell.html#3.8.">Shell.NameSpace</a> (см. также <a href="http://msdn.microsoft.com/en-us/library/bb774096(VS.85).aspx">ShellSpecialFolderConstants Enumerated Type ()</a>, <a href="http://msdn.microsoft.com/en-us/library/bb762494(VS.85).aspx">CSIDL</a>).</p><p><em><strong>Windows XP:</strong></em><br /></p><div class="codebox"><pre><code>shell:Common Programs
shell:Favorites
shell:My Video
shell:System
shell:CommonVideo
shell:LocalizedResourcesDir
shell:Cookies
shell:My Pictures
shell:Cache
shell:AppData
shell:My Music
shell:InternetFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:ProgramFiles
shell:Common Startup
shell:ControlPanelFolder
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:PrintHood
shell:CD Burning
shell:Common Start Menu
shell:Templates
shell:Programs
shell:Recent
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:Common Templates
shell:Startup
shell:Common Desktop
shell:NetHood
shell:Common Administrative Tools
shell:SystemX86
shell:History
shell:Common Documents
shell:Local AppData
shell:Windows
shell:Fonts
shell:Personal</code></pre></div><p><em><strong>Windows Vista</strong>, дополнительно:</em><br /></p><div class="codebox"><pre><code>shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:SearchHomeFolder
shell:SyncResultsFolder
shell:Original Images
shell:CommonMusic
shell:Downloads
shell:CommonDownloads
shell:SyncCenterFolder
shell:ConflictFolder
shell:SavedGames
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:PhotoAlbums
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:SampleVideos
shell:CredentialManager
shell:MAPIFolder
shell:AppUpdatesFolder
shell:LocalAppDataLow
shell:Gadgets
shell:SampleMusic
shell:CryptoKeys
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Games
shell:NetworkPlacesFolder
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:CSCFolder
shell:UsersFilesFolder
shell:ProgramFilesCommon</code></pre></div><p><em><strong>Windows 7</strong>, дополнительно:</em><br /></p><div class="codebox"><pre><code>shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:SuggestedLocations
shell:RecordedTVLibrary
shell:UserProgramFiles
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:UserProgramFilesCommon
shell:Ringtones
shell:CommonRingtones</code></pre></div><p><em>Взято с <a href="http://www.winhelponline.com/blog/shell-commands-to-access-the-special-folders/">Shell Commands to Access the Special Folders in Windows 7/Vista/XP - The Winhelponline Blog</a>. Другую группировку имён можно посмотреть в <a href="http://www.sevenforums.com/tutorials/4941-shell-command.html">Shell Command - Windows 7 Forums</a> или в <a href="http://www.techoddity.com/howto/windows/working-with-known-folders/shortcuts">Tech Oddity » Shortcuts</a>.</em></p><p>Перечень доступных имён можно посмотреть в реестре по пути «HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FolderDescriptions» (лично у меня отсутствует, подозреваю, что сие появилось, начиная с Vista).</p><p><em><strong>Пример использования:</strong></em><br /></p><div class="codebox"><pre><code>Option Explicit

Dim objShell

Set objShell = WScript.CreateObject(&quot;Shell.Application&quot;)

With objShell
    With .NameSpace(&quot;shell:CommonPictures&quot;)
        WScript.Echo .Title
        WScript.Echo .Self.Path
    End With
    
    .ShellExecute &quot;shell:ProgramFiles&quot;
    .Open &quot;shell:SendTo&quot;
    .Explore &quot;shell:RecycleBinFolder&quot;
End With

WScript.Sleep 2000

Set objShell = Nothing

WScript.Quit 0</code></pre></div><p>Кроме того, те же имена, в большинстве своём, могут использоваться в \Пуск\Выполнить или адресной строке Проводника/браузера Internet Explorer.</p><p><em>На основе изложенного в статье <a href="http://www.itcommunity.ru/blogs/sie/archive/2009/06/25/68629.aspx">Windws 7 – быстрый переход в специальные папки</a></em></p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Mon, 19 Oct 2009 05:18:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=29418#p29418</guid>
		</item>
	</channel>
</rss>
