ZTree.com  | ZEN  | About...  

 Index   Back

but ztw.exe "c:\\" works. Why?   [Zeta]

By: Ben Kent       
Date: Nov 30,2018 at 04:00
In Response to: but ztw.exe "c:\\" works. Why? (Hartmut Schneider)

> > ztw.exe c:\ works
> > ztw.exe "c:\" doesnt work
> Nor does it here, i.e. ZTree doesn't highlight C:\ (if this is what
> you mean),
> but instead C:\Windows\system32 (here).
>
> But hey, interesting:
> ztw.exe "c:\\"
> does work.
>
> Why is it so?
>
> Hartmut

I guess that ZTree is using the C command line processing functions see https://msdn.microsoft.com/en-us/library/a1y7w461.aspx

There are a number of applications that do that and so need trailing \ in quoted strings to be escaped.

Ben

152 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 7 users online (0 registered, 7 guests)
Index | Admin contact |   Forum Time: Sep 20, 2019 - 1:12 am EDT  |  Hits:28,651,657  (99 Today )
RSS Feed