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

45 views      
 

Messages in this Thread

 
93,933 Postings in 11,850 Threads, 347 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Dec 10, 2018 - 2:20 pm EST  |  Hits:26,925,999  (2,467 Today )
RSS Feed