[Show/Hide Left Column]

s_Manage_Junctions

Manage NTFS Junction Points (Create, Display, Delete)

::Create junction (under Current Directory) to Directory in Split Pane
:: Purpose:         Create junction
:: Author:          Ian Binnie
:: ZTW ver:         All
:: OS version:      2K, XP
:: Requires:        Junction.exe
:: Source:          http://download.sysinternals.com/Files/Junction.zip
:: Note:            Junction.exe must be in #ZTTools folder
IF [%j2]==[] (
echo ZTreeWin must be in Split Mode!
pause
goto :eof )
:: #ZTSet CONFIRM   Create junction "%1\%j6" Y/N?
IF /i NOT "%CONFIRM%"=="Y" goto :eof
@echo on
#ZTTools\junction.exe %1\%j6 %j1
pause

::Display junction points in Branch
:: Author:          Ian Binnie
:: ZTW ver:         All
:: OS version:      2K, XP
:: Requires:        Junction.exe
:: Source:          http://download.sysinternals.com/Files/Junction.zip
:: Note:            Junction.exe must be in #ZTTools folder
@echo on
#ZTTools\junction.exe -s %1
pause

::Delete junction point
:: Author:          Ian Binnie
:: ZTW ver:         All
:: OS version:      2K, XP
:: Requires:        Junction.exe
:: Source:          http://download.sysinternals.com/Files/Junction.zip
:: Note:            Junction.exe must be in #ZTTools folder
@echo on
#ZTTools\junction.exe -d %1
pause



Contributors to this page: ian .
Page last modified on Saturday 12 of May, 2007 05:18:02 EDT by ian.