ZTree.com  | ZEN  | About...  

 Index   Back

Use /c for NirCmd elevated cmd command    [Tip]

By: Laurent Duchastel     Montréal, Québec  
Date: Jun 28,2020 at 13:21
In Response to: [Tip] Admin vs NonAdmin - try NirCmd - Oh Yeah! (Laurent Duchastel)

> Oh Yeah! This is much better ! I used nircmd many years ago along with
> ZTree, but I don't remember why I gradually dropped it over the years. I
> didn't known it could do these things. I guess I have to reread its
> manual now ;-)

This script

#ZTTOOLS\elevate\elevate64.exe -c mklink /J "%j2:%j3\%6" "%2:%3"

can be converted as

"#ZTTools\nircmdc.exe" elevate cmd /c mklink /J "%j2:%j3\%6" "%2:%3"

Just remember to use cmd / c for internal cmd commands.


Laurent Duchastel

323 views      
 

Messages in this Thread

 
95,245 Postings in 12,014 Threads, 350 registered users, 37 users online (2 registered, 35 guests)
Index | Admin contact |   Forum Time: Jan 16, 2021 - 3:11 pm UTC  |  Hits:36,843,785  (7,717 Today )
RSS Feed