Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Does @SYMLINK work?

May
13,118
180
Code:
c:\users\vefatica\appdata\local\microsoft\windowsapps> d o*
2019-06-24  12:21     <SYMLINK>    outlook.exe [C:\Users\vefatica\AppData\Local\Microsoft\WindowsApps\outlook.exe]

c:\users\vefatica\appdata\local\microsoft\windowsapps> echo %@symlink[.\outlook.exe]
ECHO is OFF
 
@JUNCTION too.
Code:
c:\users\vefatica\appdata\local\packages\microsoft.office.desktop_8wekyb3d8bbwe\localcache\roaming\microsoft\windows\start menu\programs> d
2019-06-24  11:45    <JUNCTION>    Startup [C:\Users\vefatica\AppData\Local\Packages\Microsoft.Office.Desktop_8wekyb3d8bbwe\LocalCache\Roaming\Microsoft\Windows\Start Menu\Programs\Startup]

c:\users\vefatica\appdata\local\packages\microsoft.office.desktop_8wekyb3d8bbwe\localcache\roaming\microsoft\windows\start menu\programs> echo %@junction[Startup]
Startup
 
Do I need anything more than elevated?
Code:
c:\users\vefatica\appdata\local\microsoft\windowsapps> echo %_elevated
1

c:\users\vefatica\appdata\local\microsoft\windowsapps> d o*
2019-06-24  12:21     <SYMLINK>    outlook.exe [C:\Users\vefatica\AppData\Local\Microsoft\WindowsApps\outlook.exe]

c:\users\vefatica\appdata\local\microsoft\windowsapps> echo %@symlink[outlook.exe]
ECHO is OFF

2375
 
You don't need to be elevated to run @symlink or @junction. You only need permission to query the file or directly. If it was created by the system, you probably don't.

Are you having problems with all symlinks on your system? Is MKLINK working?
MKLINK /@SYMLINK seems OK. Supposedly, I have full control over that SYMLINK and the directory it's in. I do not have full control over the target file.
 
Back
Top
[FOX] Ultimate Translator
Translate