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

103 views      
 

Messages in this Thread

 
94,273 Postings in 11,892 Threads, 347 registered users, 5 users online (0 registered, 5 guests)
Index | Admin contact |   Forum Time: May 19, 2019 - 4:20 pm EDT  |  Hits:27,728,671  (10,609 Today )
RSS Feed