Как узнать путь к папке windows

Иногда в командной строке или при создании .BAT файла требуется указать полный путь к файлу. Некоторые начинающие пользователи не знают, как узнать полный путь к файлу, другие начинают его старательно набирать вручную, несмотря на нахождение этого файла не в самом удобном расположении. Есть способ проще — вы можете в два клика скопировать полный путь к файлу и вставить его.

В этой крайне короткой инструкции о том, как узнать и скопировать полный путь к файлу или папке в Windows 10, способ подойдет и для предыдущих версий системы.

  • Как узнать полный путь к файлу или папке
  • Как скопировать путь к файлу в буфер обмена
  • Видео инструкция

Как узнать путь к файлу или папке

Если вам требуется узнать путь к файлу или папке в Windows, используя только встроенные средства системы, достаточно перейти в нужную папку, посмотреть путь к ней в адресной строке проводника и добавить к нему имя файла после знака «\». Также вы можете открыть свойства файла (нажав правой кнопкой мыши по нему и выбрав нужный пункт) и увидеть там путь к нему в поле «Расположение».

К этому расположению (которое можно скопировать из окна свойств) также добавляем \ и имя файла, которое также отображается в свойствах — получаем полный путь к файлу, например, для скриншота выше путь буде выглядеть как C:\Windows\Winhlp32.exe. Но это не обязательно делать вручную, есть способ проще.

Копирование пути к файлу или папке

В сторонних файловых менеджерах есть свои функции для выполнения рассматриваемой задачи, но вы можете легко скопировать путь к файлу и во встроенном проводнике Windows 10:

  1. Найдите нужный файл в проводнике.
  2. Удерживая Shift, нажмите правой кнопкой по этому файлу.
  3. Выберите пункт контекстного меню «Копировать как путь».
    Копировать полный путь к файлу в Windows 10

Готово — теперь вы можете вставить (Ctrl+V, Shift+Insert или через контекстное меню) в любое место, например, в командную строку. Путь к файлу вставляется в кавычках — для большинства применений удалять их не обязательно.

Копирование пути к папке еще проще: находясь в нужной папке, нажмите указателем мыши в правой части адресной строки проводника — весь путь будет выделен.

Скопировать путь к папке в Windows 10

Скопируйте его в буфер обмена — Ctrl+C, Ctrl+Insert или с использованием контекстного меню.

Видео инструкция

Надеюсь, несмотря на краткость, материал окажется полезным для кого-то из читателей.

Загрузить PDF

Загрузить PDF

В этой статье мы расскажем вам, как в Windows найти полный путь к файлу с помощью строки поиска, Проводника или окна «Выполнить».

  1. Step 1 Нажмите ⊞ Win+S.

    Откроется строка поиска.

  2. Step 2 Введите имя файла.

    Откроется список совпадающих результатов.

  3. Step 3 Щелкните по имени файла правой кнопкой мыши.

    Откроется меню.

  4. Step 4 Нажмите Открыть папку с файлом.

    Откроется папка с нужным файлом.

  5. Step 5 Щелкните в конце строки с именем файла.

    Вы найдете ее над списком файлов и под значками опций. Полный путь к файлу будет выделен.

    • Нажмите Ctrl+C, чтобы скопировать путь.
    • Нажмите Ctrl+V, чтобы вставить скопированный путь.

    Реклама

  1. Step 1 Нажмите ⊞ Win+E.

    Откроется окно Проводника.

    • Клавиша Windows находится в левом нижнем углу клавиатуры.
  2. Step 2 Перейдите в папку с нужным файлом.

    Ваши действия будут зависеть от того, где находится файл. Как правило, нужно дважды щелкнуть по диску (его букве), а затем дважды щелкнуть по нужной папке, чтобы открыть ее.

  3. Step 3 Щелкните по нужному файлу правой кнопкой мыши.

    Откроется меню.

  4. Step 4 Выберите Свойства.

    Эта опция находится внизу меню.

  5. Step 5 Найдите путь к файлу в строке «Расположение».

    Вы найдете ее посередине окна.

    • Чтобы скопировать путь, дважды щелкните по нему — путь будет выделен, а затем нажмите Ctrl+C.
    • Чтобы вставить путь, нажмите Ctrl+V.

    Реклама

  1. Step 1 Перейдите в папку с нужным файлом.

    Например, если файл находится на рабочем столе, перейдите на рабочий стол.

  2. Step 2 Нажмите ⊞ Win+R.

    Откроется окно «Выполнить».

  3. Step 3 Перетащите файл в окно «Выполнить».

    Когда значок файла окажется в окне «Выполнить», отпустите кнопку мыши.

  4. Step 4 Найдите полный путь к файлу в поле «Открыть».

    В этом поле отображается путь к файлу.

    • Чтобы скопировать путь, дважды щелкните по нему — путь будет выделен, а затем нажмите Ctrl+C.
    • Чтобы вставить путь, нажмите Ctrl+V.

    Реклама

Об этой статье

Эту страницу просматривали 40 363 раза.

Была ли эта статья полезной?

Все способы:

  • Вариант 1: Расположение файла неизвестно
    • Способ 1: «Командная строка»
    • Способ 2: «PowerShell»
  • Вариант 2: Получение пути к файлу
    • Способ 1: Контекстное меню
    • Способ 2: Свойства объекта
    • Способ 3: Пакетный режим
  • Вопросы и ответы: 1

Вариант 1: Расположение файла неизвестно

Чтобы найти файл на компьютере, не обязательно запоминать его расположение — достаточно помнить его название или даже часть названия. Также при поиске файлов на компьютере можно использовать такие данные, как расширение, размер, дату создания и прочие атрибуты. Основных способов поиска два: возможностями самой Windows 10 и средствами сторонних приложений.

Приложений для поиска файлов существует достаточно много, среди них имеются как бесплатные, так и коммерческие. Наиболее быстрыми из них являются те, которые выполняют поиск по файловой таблице, куда заносятся имена всех объектов файловой системы. Такой подход обеспечивает почти мгновенный поиск без индексации.

Штатные средства поиска также могут быть эффективными, если уметь ими правильно пользоваться. В Windows 10 для поиска файлов и папок можно использовать функционал «Проводника», классической «Командной строки» и консоли «PowerShell».

Способ 1: «Командная строка»

Если известно название файла и буква диска, на котором он предположительно находится, найти его можно с помощью «Командной строки».

  1. Запустите консоль «cmd» из поиска Windows или другим известным способом.
  2. Как найти расположение файла в Windows 10-1

  3. Выполните команду dir /a /s c:\file.name, где file.name – имя файла с расширением, например text.docx.
  4. Как найти расположение файла в Windows 10-2

Если файл имеется на диске, команда выведет в консоль путь к нему.

Способ 2: «PowerShell»

Более широкими возможностями обладает консоль «PowerShell», способная искать файлы по разным параметрам. Далее приведен самый простой пример – поиск по имени и расширению.

  1. Запустите «PowerShell» из контекстного меню кнопки «Пуск».
  2. Как найти расположение файла в Windows 10-2.1

  3. Сформируйте и выполните команду Get-ChildItem -Path C:\ "file.name" -Recurse -Force -ErrorAction SilentlyContinue, где file.name – имя файла с расширением, а C:\ — буква диска, на котором выполняется поиск.
  4. Как найти расположение файла в Windows 10-3

Результат будет выведен в консоль.

Подробнее: Способы поиска файлов в Windows 10

Вариант 2: Получение пути к файлу

Если нужно получить пути файлов, расположение которых уже известно, либо узнать расположение файла по его ярлыку, достаточно будет средств «Проводника». Способы, в свою очередь, можно использовать разные.

Способ 1: Контекстное меню

В расширенном контекстном меню файлов, папок и ярлыков имеется опция копирования полного пути к объекту. Зажмите на клавиатуре клавишу Shift, после чего кликните по файлу правой кнопкой мыши. Выберите опцию «Копировать как путь» — путь к файлу будет скопирован в буфер обмена.

Как найти расположение файла в Windows 10-4

Способ 2: Свойства объекта

Если нужно определить месторасположение файла по его ярлыку, откройте «Свойства» данного ярлыка и посмотрите, что указано в поле «Объект». Это и будет путь файла в системе. В поле «Рабочая папка» указывается путь к папке, в которой искомый файл находится.

Обратите также внимание на кнопку «Расположение файла» — если ее нажать, будет открыт каталог с целевым файлом.

Как найти расположение файла в Windows 10-5

Способ 3: Пакетный режим

Если нужно получить пути к группе файлов, расположенных в конкретной папке, воспользуйтесь средствами той же консоли «PowerShell». Запустите приложение и выполните в нем команду Get-Childitem -File -Path D:\Folder | Out-File D:\filelist.txt.

Как найти расположение файла в Windows 10-6

В этой команде имеется два пути: D:\Folder – путь папке с файлами, пути которых нужно получить, и D:\filelist.txt – путь к автоматически создаваемому текстовому логу, куда «PowerShell» запишет данные. Заметьте, что команда получает пути только в родительской папке, поэтому если каталог нужно исследовать рекурсивно, сразу перед ключом -File в команду нужно добавить ключ -Recurse.

Наша группа в TelegramПолезные советы и помощь

Windows 11, which is the latest version of the Microsoft operating system for personal computers, offers refined and cross-functional technologies that enhance productivity, gaming, and security, and provides visually appealing and user-friendly interfaces for both desktop and touch-screen devices. This version provides a more clear and intuitive experience for all users worldwide. Searching for a file path on a Windows 11 PC has become much easier and quicker than in its previous versions.

Do you need to open an important file but forget about its location? Open a file location is a Windows feature that helps you navigate the exact path of the app or file. There are various quick tips and steps you can choose to search for any file or folder on your system, and Windows 11 has introduced different ways to open a file location even when you do not actually know its exact path.

Searching for a forgotten file on your laptop or PC can be stressful. Windows 11 offers multiple ways to open a file location, providing relief from the anxiety of not knowing where an important document is saved.

Whether through File Explorer, Start Menu search, Task Manager, Command Prompt, or the context menu, you can quickly navigate to the folder containing the desired file. So let’s find out what the various steps are.

1. Using the Windows Search Bar

This is one of the easiest ways to search for a file location. You just need to search for the file or app name, and you’ll get the file location.

To do that, follow the steps mentioned below:

1. Click on the Search bar present on the taskbar and type the name of the app, file, or folder in the Windows Search bar.

Search file and app in the Windows Search Bar

2. Your search will be listed below in the Best Match section.

3. Now, to open the file location, right-click on the file name and select the Open file location option from the context menu.

4. After that, it will take you to the location of the file.

Open File Location Option in Windows Search

5. You can also click on the right side of the results where the location is mentioned. Click on the path next to it, and it will also take you to the location of the file.

Location of the File

2. Using the File Explorer

File Explorer is one of the most commonly used methods to search for files, folders, and their paths in Windows. You can easily open, create, delete, move, and copy files and folders through File Explorer.

Here are the steps you can follow to open the file location of any file:

1. Press the Windows + E keys together to open the File Explorer or open it from the taskbar.

2. Type the name of your file in the search bar.

3. It will search for it on your Windows storage device and display the file along with the file location.

Searching Files in File Explorer

4. If you want to directly open the file location, you can right-click on the file name and select the option Open file location from the context menu.

Open File Location from File Explorer

5. Alternatively, you can copy the location of the file. To do that, right-click on it and select the Copy as Path option.

File Explorer Address Bar

6. After that, paste it into the File Explorer address bar and remove the double quotes from the beginning and end.

7. Then hit the [Enter] key.

8. It will open the file location where the file is present.

File Location

3. Using Command Prompt

You can also use the Command Prompt to find the file path by using a few lines of code. Command Prompt is a command-line interpreter application found in almost every Windows operating system.

It is used to execute commands, where tasks are executed via scripts and batch files. It is very useful for performing various functions related to troubleshooting, allowing you to change, view, and handle files in your system, giving you better administrative control.

Here are the steps you can follow to get the file location using the command prompt:

1. Open the Command Prompt as Administrator on your device.

Open Command Prompt as Administrator

2. On the Command Prompt tab, type dir “\file_name*” /s and press the [Enter] key. Now, wait for a few seconds to get the information.

You also need to provide the proper extension for the file name. For instance, if I want to know the location of Invoice No 0107.pdf, I will run this command: dir "\Invoice No 0107.pdf*" /s

File Location on Command Prompt

Now, you can simply follow that path to reach that particular file location on your Windows computer.

How to Open the File Location of Desktop Apps

Now, let’s discuss how we can find the installation location or desktop app shortcut location on Windows. For that, we’re going to use two methods: the Start Menu and the Task Manager.

1. Using the Start Menu

Sometimes, certain desktop app shortcuts may not work due to various reasons, such as the app being removed or updated to a newer version while the older shortcut remains. In such situations, you can locate the location and remove those shortcuts.

To do that, you can follow the steps mentioned below:

1. Click on the search bar and search for the desktop app you want to locate. Alternatively, click on the Start Menu, select the All Apps option, and locate the desktop app.

Start Menu All Apps

2. For instance, if the Rockstar Games Launcher is not working on my system, I will right-click on it, select the More option, and then choose the Open file location option from the menu that appears.

File Location of App

3. It will open the program shortcut location. You can select the shortcut and click on the delete button to remove it from the All Apps list.

Remove Shortcut

2. Using Task Manager

Task Manager shows you the programs, processes, and services that are currently running on your computer. You can monitor the system’s performance through the task manager and terminate any application or process presently running according to your priority.

You can also open any program location through the task manager. Let’s check how.

1. Open the Task Manager. You can search for it in the Start Menu search bar and open it, or use the shortcut keys Ctrl + Shift + Esc to open the Task Manager.

Opening Task Manager From Start Menu

2. It will open up the Task Manager window.

3. Click on the Processes tab and right-click on the app and processes for which you want to know the location.

4. Then select Open file location from the context menu that appears.

Open File Location of Tasks

5. It will take you to that existing app file location.

Desktop App Location

You can use these methods to find the location of unwanted apps or software that are using your system resources. This way, you can locate them and remove them from your system. Make sure not to delete any system-related files, as it can cause system failure.

How to Open the File Location of Desktop Shortcuts

If you’ve created a desktop shortcut for your files or apps and you want to know how to find the shortcut location in Windows 11, you can access their main location with a click.

To do that, follow the steps mentioned below:

1. Select the desktop shortcut and right-click on it.

Opening File Location of Desktop Shortcuts

2. From the context menu that appears, click on the Open File Location option. After that, you will be redirected to its original location.

The file location won’t show if you’ve directly downloaded or pasted it onto the desktop.

Conclusion

Thus, depending on your ease and workflow, you can choose any of the steps mentioned above to open a file location in Windows 11. So these are some quick methods that can help you navigate to the file, folder, or app you’re desperately searching for.

We hope that this article was helpful for you all. If you liked this article and found it interesting, do share it with your friends. If you’ve any doubts or queries regarding any step, do not hesitate to leave them in the comment section. We would be happy to assist you and resolve your doubts.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как убрать стим из автозапуска windows 10
  • Неизвестное usb устройство сбой запроса дескриптора устройства windows 10 ошибка драйвера
  • Syskey windows 10 не запускается
  • Как поменять нумерацию экранов в windows 10
  • Windows phone sdk что это