Mklink не распознано как имя командлета
Сообщения: 27449
Благодарности: 8086
В папке «C:\Мои проекты\19» будет создана символическая ссылка, ведущая во внутренности папки «U:\This is U».
Для простоты создания можно пользовать Far Manager (создаются комбинацией горячих клавиш «Alt-F6»).
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.
Сообщения: 1101
Благодарности: 71
| Конфигурация компьютера | |
| Процессор: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz | |
| Материнская плата: Biostar BIOS Date: 02/19/14 10:59:29 Ver: 04.06.05 | |
| Память: 2*4gb DDR3 | |
| HDD: 2xSSD, 1xHDD | |
| Видеокарта: NVIDIA GeForce 750 | |
| Блок питания: FSP ATX-600PNR 600W v2/2. w/APFC (80 Plus) 9pa6003003 | |
| Монитор: 24 дюмов, SAMSUNG | |
| ОС: Windows 8.1 64бит, Linux Mint 17 64bit, Windows 10×64, Linux Mint 18 x64,Depin linux 15.8 |
+ CategoryInfo : ObjectNotFound: (mklink:St
+ FullyQualifiedErrorId : CommandNotFoundException
в чем отличия символической сылки и связи катологов?
Сообщения: 27449
Благодарности: 8086
«mklink» — это внутренняя команда командного процессора «cmd.exe», а не командлет PowerShell, и не внешняя утилита. Посему запустите обычную командную строку, а не PowerShell, и исполняйте команду в ней.
| в чем отличия символической сылки и связи катологов? » |
Сообщения: 1101
Благодарности: 71
| Конфигурация компьютера | |
| Процессор: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz | |
| Материнская плата: Biostar BIOS Date: 02/19/14 10:59:29 Ver: 04.06.05 | |
| Память: 2*4gb DDR3 | |
| HDD: 2xSSD, 1xHDD | |
| Видеокарта: NVIDIA GeForce 750 | |
| Блок питания: FSP ATX-600PNR 600W v2/2. w/APFC (80 Plus) 9pa6003003 | |
| Монитор: 24 дюмов, SAMSUNG | |
| ОС: Windows 8.1 64бит, Linux Mint 17 64bit, Windows 10×64, Linux Mint 18 x64,Depin linux 15.8 |
удаление симв. сылки на папку через файловый менеджер приводит к удалению содержимого в папке?
mklink not installed on Windows 7?
I just installed Windows 7 Pro, and I’m configuring it to my preferences. I go to set up a symbolic link (since it supports symlinks).
But I don’t seem to have the mklink program in C:\Windows\system32 .
In administrator mode in Powershell:
![]()
![]()
3 Answers 3
mklink is not a standalone tool – it is a built-in command in the Cmd.exe interpreter. The only way to run it externally is through cmd /c (similar to sh -c on Linux):
However, PowerShell itself supports creating various link types using the New-Item cmdlet, although it is not a full replacement (as it does not support creating relative symlinks).
Mklink не распознано как имя командлета
Workaround: PowerShell does not support MKLINK, you want to use CMD.
Find the "Command Prompt" in the Windows system of the Start menu, run as an administrator.
Docker for windows Modify the default image file location
Delete soft connection:
Intelligent Recommendation
Solve the «can not» http-server «item recognized as a cmdlet, function, script file or executable name.»
is then input node and npm -v -v view in cmd node environment found already exist, but the problem still exists. Solution: npm install http-server -g, provided that you install node environment. Last .
![]()
vue: The «vue» item cannot be recognized as the name of a cmdlet, function, script file, or executable program. please. . . . .
When creating a vue projectError: vue: The "vue" item cannot be recognized as the name of a cmdlet, function, script file, or executable program. Please check the spelling of the name, if th.
![]()
jupyter: The «jupyter» item cannot be recognized as the name of the cmdlet, function, script file, or executable program
Previously, open PowerShell to run jupyter notebookThey are perfect. Since the last time SQL was installed, the path has been completely cleared and various errors have been reported. It is foreseeabl.
![]()
conda: The «conda» item cannot be recognized as the name of the cmdlet, function, script file, or executable program
conda: The "conda" item cannot be recognized as the name of the cmdlet, function, script file, or executable program There are generally two situations: Problems with environment variables .
![]()
npm: The «npm» item cannot be recognized as the name of a cmdlet, function, script file, or executable program. Please check
Guide Method 1: Run as administrator Method 2: View the npm environment variable configuration Method 1: Run as administrator Right-click on vscode, select an administrator to run, you can solve the p.
More Recommendation
cnpm: The «cnpm» item cannot be recognized as the name of a cmdlet, function, script file, or executable program
1. Error message cnpm: The "cnpm" item cannot be recognized as the name of a cmdlet, function, script file or executable program. Please check the spelling of the name, and if you include th.
![]()
The «webpack» item cannot be recognized as the name of a cmdlet, function, script file, or executable program.
The reason for this error is: In windows10, your webpack is partially installed and has not been added to the system environment variables, so the console cannot find the webpack command. There are th.
![]()
vue: The «vue» item cannot be recognized as the name of a cmdlet, function, script file, or executable program.
1. Because the environment variables of npm are not configured correctly, the system cannot find this module. 2. Add NOEDE_PATH (storage location of global variable modules), enter "System Proper.
![]()
Solve the problem that the «wekpack» item cannot be recognized as the name of a cmdlet, function, script file or executable program.
Today, after configuring the webpack.config.js file and running the webpack command, this problem occurred. After I checked the information, the problem was finally solved. Here are the steps to solve.
![]()
Error when typing vue in cmd: The «vue» item cannot be recognized as the name of a cmdlet, function, script file or executable program.
This is because when we configured npm, we did not configure npm global environment variables, which led to the system not being able to recognize it. We need to configure environment variables. 1. Ad.
Как изменить расположение резервной копии iTunes

В качестве места резервного копирования iTunes по умолчанию задан основной диск ПК или Mac, а в macOS 10.15 резервные копии iOS, созданные Finder, хранятся в одном месте. Многие пользователи имеют большие резервные копии или резервные копии с ряда устройств iOS, и, как следствие, им не хватает места на диске.
Можно настроить компьютер таким образом, чтобы iTunes выполняла резервное копирование на дополнительный жесткий диск или на внешний жесткий диск или NAS.
Проще говоря, это делается путем замены папки резервного копирования iTunes символической ссылкой на нужное место. Это легко обратимое изменение, поэтому можно восстановить расположение резервной копии по умолчанию в ее исходный каталог.
Обратите внимание, что если хранилище резервных копий iTunes будет изменено на том, который не доступен постоянно, процесс резервного копирования iTunes завершится неудачно, когда новое хранилище будет недоступно.
Что вам нужно
Чтобы изменить расположение резервной копии iTunes по умолчанию на вашем компьютере, необходимо следующее:
- Средняя компетентность с ПК или Mac
- 10 минут
- Понимание желаемого нового пути к резервной копии
- Mac под управлением MacOS 10.7 или новее, или ПК под управлением Windows Vista или новее
- Служба поддержки Reincubate всегда готова помочь и проконсультировать клиентов, как это сделать.
Изменение папки резервного копирования iTunes iOS автоматически
Бесплатная версия iPhone Backup Extractor автоматически покажет вам место резервного копирования iTunes по умолчанию на вашем компьютере — и позволит вам изменить его.
- Загрузите и установите iPhone Backup Extractor .
- Выберите « Preferences в главном меню.
- Выбрать Backups от Preferences окно

This functionality is completely free in iPhone Backup Extractor, but if you’d like to change your folder manually without using it, we’ve included instructions below.
Изменение папки резервного копирования iTunes iOS в Windows вручную
- Open the default Backup location in Explorer using the Windows Run command. Press ⊞ Win + R and the Run window should appear. For Windows 7, 8 and Windows 10 iTunes Apple version, enter %APPDATA%\Apple Computer\MobileSync and press ⏎ Enter . For iTunes Microsoft Store version, enter \Users\[USERNAME]\Apple\MobileSync\Backup , where [USERNAME] is your Windows user name.
- В открывшемся окне проводника появится папка с именем «Backup». Это содержит любые резервные копии iTunes, которые уже присутствуют на компьютере. Чтобы изменить расположение папки резервной копии, эту папку необходимо переименовать, переместить или удалить. Например, можно переименовать его в «Резервная копия (старая)».
- После того как папка «Резервная копия» была переименована, перемещена или удалена, можно создать символическую ссылку на нужное место резервной копии. Для этого необходимо открыть командное окно. Удерживая ⇧ Shift и щелкнув правой кнопкой мыши в недавно открытом окне MobileSync Explorer, пользователи увидят меню с опцией «Открыть окно команд здесь» или «Открыть окно PowerShell здесь». Нажмите это.
- Используйте следующую команду mklink /d Backup "[desired-new-backup-path]" . После ввода этой команды нажмите ⏎ Enter и изменение будет завершено.
- После перезапуска Windows iTunes сохранит свои резервные копии в новом месте.
Почему / д, а не / J?
Когда мы запускаем команду для создания ссылки в Windows, мы используем аргумент /d а не /J Оба эти аргумента приводят mklink к созданию мягкой символической ссылки. Однако /J является устаревшим аргументом, предназначенным для создания соединений каталога . В большинстве случаев это будет работать, но не всегда будет работать для пользователей с NAS. /d работает в большем количестве случаев, и, следовательно, это то, что мы включаем сюда.
Использование PowerShell и получение ObjectNotFound ?
Приведенные выше инструкции работают при использовании командной оболочки в Windows. Пользователи PowerShell обнаружат, что утилита mklink встроена только в Command , а не в PowerShell. Чтобы обойти это, либо придерживайтесь обычной командной оболочки, либо добавьте префикс вашей команды в PowerShell к cmd /c . Это сделало бы команду связывания похожей на cmd /c mklink /d Backup "[desired-new-backup-path]" .
Изменение папки резервного копирования iTunes iOS вручную на macOS
- Запустите приложение MacOS Terminal. Это можно найти с помощью Finder в разделе « Applications / Utilities / Terminal . Кроме того, его можно запустить с помощью Spotlight, нажав ⌘ Cmd +. и набрав «Терминал» перед нажатием ⏎ Enter .
- Попросите Терминал сменить папку резервного копирования iTunes по умолчанию, введя cd
Operation not permitted?
If you run into an «Operation Not Permitted» error when doing this on macOS, it will be caused by a lack of permissions for your Terminal app. In order to make the operation work, you’ll need to grand «Full Disk Access» to your Terminal. You can read how to do that here.
Как восстановить резервную копию папки iTunes в ее исходное местоположение
Если вы предприняли шаги, описанные выше, и хотите отменить изменение, процесс будет простым:
- Перейдите в папку резервного копирования iTunes .
- Удалите Backup символическую ссылку, которая появится там.
- Перетащите исходную папку Backup обратно, переименовав ее, если необходимо, в соответствии с ее первоначальным именем.
Другие проблемы?
У нас было несколько пользователей, которые уже переместили свою папку резервных копий iTunes в другое место — просто перетаскивая ее, — и теперь у нас нет необходимой символической ссылки, чтобы iTunes могла видеть резервную копию.
Это легко решить, и есть два варианта:
Перетащите папку туда, где вы изначально находились. Если вы забыли, он должен называться Backup и находится в
Создайте символическую ссылку, указывающую на нее — так же, как описано выше. Если вы находитесь на этом этапе, вы должны открыть терминал и сделать это:
Это должно быть так просто.
Есть ситуации, когда это невозможно?
Этот метод работает на каждом Mac, но он не будет работать на ПК с Windows, созданных до 2000 года. До выпуска Windows 2000 Windows по умолчанию использовала файловые системы в формате FAT , и они не могли создавать символические ссылки. Любая сборка Windows PC с тех пор почти наверняка будет использовать диски в формате NTFS, и они прекрасно поддерживают символические ссылки. Если вы используете FAT и пытаетесь создать ссылку, вы можете увидеть эту ошибку: Local volumes are required to complete the operation.
К счастью, Microsoft предоставляет некоторые инструкции по обновлению диска с FAT до NTFS . Это немного более технически, но это возможно.
Aidan Fitzpatrick
Как мы можем помочь?
Наша служба поддержки здесь, чтобы помочь!
Наш офис работает с понедельника по пятницу с 9:00 до 17:00 по Гринвичу. Время в настоящее время 7:43 ДП с GMT.
Мы стремимся отвечать на все сообщения в течение одного рабочего дня.

Связанный контент

iOS резервное копирование и восстановление
Как приложения хранят данные в резервных копиях iPhone: имена файлов и хеши
![]()
iOS резервное копирование и восстановление
Как отключить автоматическое резервное копирование iTunes

iOS резервное копирование и восстановление
Как восстановить резервную копию iOS на более раннюю версию iOS
![]()
iOS резервное копирование и восстановление
Как обновить iPhone без резервного копирования

iOS резервное копирование и восстановление
Что хранится в резервной копии iPhone или iCloud?

iOS резервное копирование и восстановление
Где iTunes хранит резервные копии iOS?
Комментарии (26)
Август 23 rd , 2020
J’essaie tant bien que mal de déplacer ce Backup et de créer un lien symbolique. Cependant, la seule réponse que j’ai est: illegal option — /
Je vous laisse le chemin que j’utilise et si une âme charitable veut bien m’aiguiller. Merci 🙂
ln -s/Volumes/VERBATIM\ HD/SAUVEGARDE\ IPHONE/
/Library/Application\ Support/MobileSync/Backup ln: illegal option — / usage: ln [-Ffhinsv] source_file [target_file] ln [-Ffhinsv] source_file . target_dir link source_file target_file
ответить: Reincubate Support
Август 23 rd , 2020
Salut Gael, merci d’avoir écrit! Le problème ici est l’espace («») entre votre chemin et les barres obliques.
Il doit s’agir de ln -s /Volumes/VERBATIM\ HD/SAUVEGARDE\ IPHONE/
/Library/Application\ Support/MobileSync/Backup , et non de ln -s / Volumes / VERBATIM \ HD / SAUVEGARDE \ IPHONE /
/ Library / Application \ Support / MobileSync / Backup
Faites-nous savoir si vous avez besoin d’aide!
Январь 15 th , 2020
Backing up to remote Synology server (not local). All you need:
Январь 4 th , 2020
Exactly what I needed. I don’t want to store on my MacBook as it takes 200GB. This allows me to move to a Time Capsule. I don’t use Time Machine but I use Time Capsule as a network drive and another copy of the whole Time Capsule to another network drive.
ответить: Reincubate Support
Январь 4 th , 2020
Декабрь 1 st , 2019
I’ve got the symbolic link created, but my iPhone back up still goes to the original C: drive location. When I look on my k: drive, I do not see the symbolic link file subdirectory even though it said it was created.
ответить: Reincubate Support
Декабрь 1 st , 2019
Hi Rick: the symlink should be in your C: drive, in MobileSync , and called Backups . It’d be that that points to the K: drive in your case. If you get stuck, why not use the functionality in iPhone Backup Extractor? It can do it for you, and it’s in the free edition.
Октябрь 3 rd , 2019
How do I figure out the my desired new backup location path? I want to use an external drive.
ответить: Reincubate Support
Октябрь 3 rd , 2019
Hi Colleen, thanks for commenting. If you use the functionality in iPhone Backup Extractor to change location, you can make the change simply by browsing to the folder you want. That might be easier!
Сентябрь 30 th , 2019
A fix to the insufficient permissions error—
Since I got the permissions insufficient in both cmd and powershell. First you search cmd and then right click the command prompt app and run as admin. Navigate to the directory using the cd command ex.( cd c:\users\youruser\apple\mobilesync ). once in the directory you can use the ( mklink /d backup [new directory] ) command listed in the article. That worked for me.
As a side note, when using the cd command to navigate remember that you will likely have to put any folders with a space in the name inside quotation marks ex.( cd c:\users\»this user»\apple\mobilesync ). hopefully this helps some avoid the hassle of having to figure out this process if you get that persistent insufficient permissions response.
Сентябрь 16 th , 2019
So I’m trying to change the backup path on Windows, and of course get the «insufficient privilege» error in the regular Powershell. So I ran it as administrator by typing it in the search bar and it said it created the symbolic link to the location, so I restarted my PC & tried updating iOs but the backup still went through to the original location (my hard drive, while I wanna change it to an external one simply ’cause I don’t have enough space left on the former, lol).
So I guess my question is: how do I run Powershell in the MobileSync window as admin/how do I get the one I open through the search bar as admin to go to the MobileSync folder location so I can properly create the symbolic link & switch it up? :/
P.S. I did skip step one if I’m being honest, but only did so ’cause I already found the location manually, then proceeded to follow the instructions w/ renaming the folder, etc. Might this be the reason why it’s not working? If so, shall I re-rename it to its original «Backup» name and try it again with the 1st step? I doubt it since I can’t get the Powershell to go to the MobileSync location while I run it as admin to begin with/can’t change it without running it as admin in the aforementioned window. Then again what do I know, lol.
P.P.S. Does the admin-run Powershell not need the MobileSync path to be put in and can successfully render the switcheroo by typing the featured command right after the «system32» path? If so, what seems to be the problem?
I was hoping to update my iOS tonight, and am getting more & more frustrated as we speak. Sorry for the post being so jumbled, hope all’s clear. Thanks for the help!
ответить: Reincubate Support
Сентябрь 16 th , 2019
Hi Aaron, thanks for the comment.
Yes, if you skipped step 1 your Powershell will be looking in the wrong folder, so it won’t have created the symbolic link in the right place.
If you’ve already got a Powershell or command window open, you can make it change folder with this command:
cd %APPDATA%\Apple Computer\MobileSync
(If it’s looking at the wrong drive, you’ll have to change drive by typing C: .)
We’ve reached out to you directly to help, but if anyone else runs into the same problem, we’d recommend undoing the steps you took, starting over, and making sure to include the first step.
Сентябрь 3 rd , 2019
I tried it, the following error popped up .. Plz advise
ответить: Reincubate Support
Сентябрь 3 rd , 2019
Hi Mohamed, it looks like you’re using PowerShell to run the command. If that’s the case, you must prefix you command with cmd /c , so it’s like cmd /c mklink , etc.
Август 9 th , 2019
I’m trying to do this on Mac OS 10.14.6 (Mohave), but when I try Step 5, I receive a «Operation Not Permitted» message. Any ideas.
ответить: Reincubate Support
Август 9 th , 2019
Hi Sean, thanks for commenting. On macOS Mojave and newer, you’ll need to grant «Full Disk Access» to your Terminal in order to make the change. There’s a how-to on how to do this for iPhone Backup Extractor here, I hope that helps!
Июль 27 th , 2019
Thank you for the article. Here are a few notes to help somebody.
- Run CMD or PowerShell as admin (right click)
- Change directory CD (include space). Example: CD C:\Users\Username (change this)\AppData\Roaming\Apple Computer\MobileSync
- Command (this is from this article). Example: mklink /d Backup «L:\Users\XYZ»
Июль 25 th , 2019
I’m still having trouble with permissions, when I open up powershell in admin I get a command line PS C:\Windows\System32> I don’t seem to be able to open it in admin mode from the file path of the itunes back up.
ответить: Reincubate Support
Июль 25 th , 2019
Hey Joe, you can change directory using the cd command. Try this:
cd %APPDATA%\Apple Computer\MobileSync
Июль 16 th , 2019
Thanks for this assistance! I too got stuck on the «you do not have sufficient privilege to perform this operation.» I then followed your advice in the comments above and ran Powershell as an administrator, but the Powershell window that opens from the MobileSync folder doesn’t seem to recognize that and keeps giving me the same message. What do I do from here? Thanks!
ответить: Reincubate Support
Июль 16 th , 2019
Hey Jess, thanks for writing. It’s the same privilege error you’re getting? If you drop us a note I’m sure we can guide you through it.
Июль 14 th , 2019
У меня выдает ошибку в PowerShell mklink : Имя «mklink» не распознано как имя командлета, функции, файла сценария или выполняемой программы. Проверьте правильность написания имени, а также наличие и правильность пути, после чего повторите попытку. строка:1 знак:1 + mklink /d Backup «[desired-new-backup-path]» +
+ CategoryInfo : ObjectNotFound: (mklink:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException