ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Skip UAC Running ZTW (Admin)?   [Help!]

By: Steven James       
Date: Jun 21,2019 at 20:39
In Response to: [Help!] Skip UAC Running ZTW (Admin)? (Bill Kingsbury)

> See this post - http://www.ztw3.com/forum/forum_entry.php?id=116037
> ... regarding - http://code.kliu.org/misc/elevate/ ... (only 6 kb)
> I guess this would also work on Windows 10 - ?
> Note - I don't remember what the following detail was about - Quote:
> ::Add symbolic file
> #ZTHomeelevate -c mklink "%j2:%j3%4.%5" "%1"


I'm attempting to execute a batch file, ZX.CMD, that I posted here: http://www.ztw3.com/forum/forum_entry.php?id=120072 some time ago.

I'm invoking it as a desktop link without Admin privileges as follows [the resultant command line is: "D:\ZtreeWin\ZTW64.EXE" /ZB /ZD /ZF /ZM /T"STEVEN JAMES: ZTW64.EXE" /COLS:MAX /ROWS:MAX /APIT]:

D:\ZTreeWin\elevate.exe ZX.CMD /64 /d

This yeilds a UAC prompt for the Command Processor which is, in turn, invoking ZX.CMD. I'm not sure I understand how the following string is properly used to accommodate what I'm trying to do in Win 10:

#ZTHome\elevate.exe - c mklink "%j2:%j3%4.%5" "%1"

Would parameter "%1" not presumably be "ZX.CMD"? It is most likely that I'm missing the point of just how elevate.exe should be used to override UAC.

[The /64 parameter to ZX.CMD is used to invoke ZTW64.EXE (over ZTW.EXE) and /d is merely to temporarily debug the ZX.CMD parameters themselves.]

Any suggestions/clarification?


Thread locked

Messages in this Thread

95,045 Postings in 11,981 Threads, 349 registered users, 90 users online (0 registered, 90 guests)
Index | Admin contact |   Forum Time: Jul 11, 2020 - 9:33 am EDT  |  Hits:32,107,386  (11,009 Today )
RSS Feed