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 09: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

217 views      
 

Messages in this Thread

 
95,102 Postings in 11,991 Threads, 350 registered users, 82 users online (0 registered, 82 guests)
Index | Admin contact |   Forum Time: Sep 26, 2020 - 8:55 pm EDT  |  Hits:34,281,944  (22,790 Today )
RSS Feed