highend wrote:Really? I suggest those people should read a bit more about fsutil.exe before they claim such things...
Way to make script symlinks from inside xyplorer
Re: Way to make script symlinks from inside xyplorer
Yes really, including a Microsoft Engineer.
Re: Way to make script symlinks from inside xyplorer
The command doesn't show anything about association and visually seeing, only how to http://commandwindows.com/fsutil.htm create a hardlink ?
Re: Way to make script symlinks from inside xyplorer
Not? Interesting. So why am I able to let fsutil show me the hardlink destinations for a file?
One of my scripts helped you out? Please donate via Paypal
Re: Way to make script symlinks from inside xyplorer
Can fsutil do visual color representation in Windows Explorer ?highend wrote:Not? Interesting. So why am I able to let fsutil show me the hardlink destinations for a file?
Re: Way to make script symlinks from inside xyplorer
What? This is the XY forum...Can fsutil do visual color representation in Windows Explorer ?
I quote something from the _last page_:
And, uhhh, exactly this IS POSSIBLE^^Quote:
I assume there is no way for XY to list where the hard link location is related to ?
Correct. Although this could be done with a custom column, a script, and a command line tool. Google knows more about such tools...
And please, post the name of this "Microsoft Engineer"...
One of my scripts helped you out? Please donate via Paypal
Re: Way to make script symlinks from inside xyplorer
What was the command you used with fsutil to see a hardlink destination to a file ? I understand now, since I know of the tool, to which with the help of this tool you can have a custom column that will or can run a script to execute fsutil so that one can see a visual representation of hardlinks within XY, correct ? And if so, do you know if such scripts exist ?highend wrote:What? This is the XY forum...Can fsutil do visual color representation in Windows Explorer ?
I quote something from the _last page_:And, uhhh, exactly this IS POSSIBLE^^Quote:
I assume there is no way for XY to list where the hard link location is related to ?
Correct. Although this could be done with a custom column, a script, and a command line tool. Google knows more about such tools...
And please, post the name of this "Microsoft Engineer"...
Re: Way to make script symlinks from inside xyplorer
fsutil has an inbuild help file. May I suggest that you read it this time?
A script for a custom column? I've posted at least a dozen. Basic scripting, a few lines of code. You can do that.
I'm still waiting for the name of the Microsoft engineer that told you that's not possible to show hardlinks...
A script for a custom column? I've posted at least a dozen. Basic scripting, a few lines of code. You can do that.
I'm still waiting for the name of the Microsoft engineer that told you that's not possible to show hardlinks...
One of my scripts helped you out? Please donate via Paypal
Re: Way to make script symlinks from inside xyplorer
Rather who didn't know the answer; Karthicka_R, then I was directed elsewhere to which I was informed that my question, may be related to Internet Explorer and that I'd need to build a presentation.highend wrote:I'm still waiting for the name of the Microsoft engineer that told you that's not possible to show hardlinks...
Re: Way to make script symlinks from inside xyplorer
Can you not, with fsutil, search a entire drive for all hardlinks, I tried this command with no success; maybe too many flags ?
highend - Have any keywords to search for such scripts you created, I've searched and don't see your name in any of the threads ?
Code: Select all
fsutil hardlink list fsinfo driveType C:\ hardlink
Re: Way to make script symlinks from inside xyplorer
http://www.xyplorer.com/xyfc/search.php ... mit=Search
How to Configure Extra Column
Custom column property: "minutes"
Latitude and Longitude
Display NTFS permissions list with option to print & export
etc.
How to Configure Extra Column
Custom column property: "minutes"
Latitude and Longitude
Display NTFS permissions list with option to print & export
etc.
One of my scripts helped you out? Please donate via Paypal
Re: Way to make script symlinks from inside xyplorer
Anyone know if there's a similar solution that will allow creation of symlink'd directories and not just files?highend wrote: ↑01 Jul 2015 18:22 No need for admin rights for normal symlinks:
Code: Select all
$vbsFile = "%TEMP%\~CreateSymlink.vbs"; $baseName = getpathcomponent("<curitem>", "base"); $cscript = ("%osbitness%" == 64) ? "%windir%\System32\cscript.exe" : "%windir%\SysWOW64\cscript.exe"; $vbsContent = <<<>>> set WshShell = WScript.CreateObject("WScript.Shell") set oShellLink = WshShell.CreateShortcut("<curpath>\$baseName.lnk") oShellLink.TargetPath = "<curitem>" oShellLink.WindowStyle = 11 oShellLink.IconLocation = "<curitem>" oShellLink.Description = "$baseName" oShellLink.WorkingDirectory = "<curpath>" oShellLink.Save >>>; if (exists("<curitem>") == 1) { writefile($vbsFile, $vbsContent); run """$cscript"" ""$vbsFile"" /nologo", , 1, 0; delete 0, 0, $vbsFile; }
I tried the script highend posted but it seems to only work on files, not directories.
Re: Way to make script symlinks from inside xyplorer
here is a copy of highends script with adjustments for folders.
there are 2 versions at end of script just in case you want to try something different in future.
there are 2 versions at end of script just in case you want to try something different in future.
Re: Way to make script symlinks from inside xyplorer
After some experimentation, this solution seems to generate a different type of directory symlink than the type https://schinagl.priv.at/nt/hardlinkshe ... nsion.html generates.
The script you posted seems to create a shortcut/symlink with a .lnk extension that upon removal seems to no longer be recognized.
The directory symlinks LSE creates do not seem to be dependent on an .lnk extension.
Does anyone know if it's possible to generate directory symlinks via XYplorer script in the manor LSE does?
Re: Way to make script symlinks from inside xyplorer
XY can create junctions (if that's what you're referring to) via the script command
XY needs to be started with admin permissions for that
Otherwise use a script that writes out a .bat file with self elevation that uses
new()
XY needs to be started with admin permissions for that
Otherwise use a script that writes out a .bat file with self elevation that uses
mklink
to create it...One of my scripts helped you out? Please donate via Paypal