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

974 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 112 users online (0 registered, 112 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 3:10 pm UTC  |  Hits:62,410,375  (25,161 Today )
RSS Feed