AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1717363
Accepted
Dr_Xunil
Dr_Xunil
Asked: 2022-04-22 06:15:39 +0800 CST2022-04-22 06:15:39 +0800 CST 2022-04-22 06:15:39 +0800 CST

windows文件资源管理器中的两个“%”符号之间可以使用什么来快速导航到特定位置?

  • 772

如果这应该在另一个网站上问,请告诉我。我很抱歉,因为我不知道这个名称的正确命名。

示例:使用 %localappdata% 会将我导航到“C:\Users\User\AppData\Local”。我可以在两个“%”符号之间使用所有这些可能的快捷方式列表吗?

另外,这些的正确名称应该叫什么?

windows windows-explorer
  • 2 2 个回答
  • 48 Views

2 个回答

  • Voted
  1. Best Answer
    Tonny
    2022-04-22T06:24:42+08:002022-04-22T06:24:42+08:00

    该%sometext%语法是适用于资源管理器和命令提示符的 Windows 机制。
    它被称为“环境变量扩展”。
    该序列被存储在名为“sometext”的环境变量中的文本简单地替换(也称为“扩展”)。

    所以%localappdata%只是被存储在名为“localappdata”的环境变量中的任何内容所取代,这恰好c:\users\user\appdata\local在您的情况下。

    要查看所有可用环境变量的列表,请打开命令提示符窗口并输入命令SET。
    (或者在 PowerShell 中给出命令dir env:。)
    这将显示所有变量及其当前值。
    显然,只有那些包含路径的(不是全部)才有意义在 Explorer 中使用。

    • 5
  2. Keith Miller
    2022-04-22T21:02:35+08:002022-04-22T21:02:35+08:00

    补充托尼的回答:

    使用格式:

    • explorer "shell:<KnownFolderName>"

    您可以使用以下方法访问其他位置,包括虚拟文件夹,例如This PC:

    • explorer "shell:MyComputerFolder"

    KnownFolders 在注册表中定义:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions
    

    您可以使用以下命令在PowerShell中生成名称列表:

    ( 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions' | gci | gp ).Name
    

    大多数(但不是全部)名称都以这种方式工作:

    AccountPictures
    Roaming Tiles
    Common Programs
    PublicAccountPictures
    GameTasks
    UserProfiles
    MyComputerFolder
    SearchHistoryFolder
    Local Pictures
    SyncSetupFolder
    DpapiKeys
    Retail Demo
    Favorites
    My Video
    SearchHomeFolder
    RecordedTVLibrary
    System
    Libraries
    ThisDeviceFolder
    AppsFolder
    MusicLibrary
    CommonVideo
    OneDriveDocuments
    SyncResultsFolder
    LocalizedResourcesDir
    Cookies
    CameraRollLibrary
    Original Images
    Recorded Calls
    3D Objects
    CommonMusic
    OneDrivePictures
    My Pictures
    Cache
    Local Videos
    Downloads
    SavedPictures
    CommonDownloads
    AppData
    SyncCenterFolder
    PublicLibraries
    VideosLibrary
    My Music
    ConflictFolder
    SavedGames
    InternetFolder
    HomeGroupFolder
    Quick Launch
    SystemCertificates
    AppDataProgramData
    Contacts
    UserProgramFiles
    Device Metadata Store
    Profile
    Start Menu
    Common AppData
    ProgramFilesCommonX64
    PhotoAlbums
    ProgramFilesX64
    ConnectionsFolder
    Administrative Tools
    ThisPCDesktopFolder
    OneDriveCameraRoll
    PrintersFolder
    AppMods
    DocumentsLibrary
    AppDataDocuments
    ProgramFilesX86
    AppDataFavorites
    Searches
    Local Downloads
    SearchTemplatesFolder
    Common Startup
    ControlPanelFolder
    SendTo
    ResourceDir
    ProgramFiles
    CredentialManager
    PrintHood
    MAPIFolder
    HomeGroupCurrentUserFolder
    User Pinned
    CD Burning
    Local Music
    UsersLibrariesFolder
    AppUpdatesFolder
    Application Shortcuts
    Common Start Menu
    Common Start Menu Places
    LocalAppDataLow
    OneDrive
    Templates
    Programs
    PicturesLibrary
    Roamed Tile Images
    Camera Roll
    Recent
    AppDataDesktop
    Desktop
    CommonPictures
    RecycleBinFolder
    Screenshots
    CryptoKeys
    Common Templates
    Startup
    ImplicitAppShortcuts
    UserProgramFilesCommon
    Links
    OEM Links
    OneDriveMusic
    Common Desktop
    NetHood
    Ringtones
    Common Administrative Tools
    NetworkPlacesFolder
    SystemX86
    History
    Development Files
    AddNewProgramsFolder
    Playlists
    ProgramFilesCommonX86
    PublicGameTasks
    ChangeRemoveProgramsFolder
    Public
    SavedPicturesLibrary
    CommonRingtones
    Common Documents
    Captures
    CSCFolder
    Local AppData
    Windows
    UsersFilesFolder
    Local Documents
    ProgramFilesCommon
    Fonts
    Personal
    
    • 0

相关问题

  • Python 的“pass”参数的批处理等价物是什么?

  • 在 Windows 上与 Docker 守护进程通信

  • 资源管理器侧面板中的桌面外壳快捷方式

  • 在多个文件上打开方式?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    v15 为什么通过电缆(同轴电缆)的千兆位/秒 Internet 连接不能像光纤一样提供对称速度? 2020-01-25 08:53:31 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve