ZTree.com  | ZEN  | About...  

 Index   Back

s/%1/%7/   [Q]

By: Juergen Hestermann       
Date: Sep 05,2006 at 00:37
In Response to: s/%1/%7/ (Hartmut Schneider)

> I tried a lot and had no idea for an hour. F9 generates a batch, and
> CMD.EXE always stupidly substitutes ...%2... with nothing.

Thanks for trying to help. Yes, it's a mess. I thought that if the OS allows file names with % it should be able to handle them correctly too. But we are talking about M$, not a real OS. ;-)

> But %7 (full SFN path) works!
> I tried 'start ""
> "d:\programme\irfanview\i_view32.exe" %7', and got even
> surprised that IrfanView displays the correct LFN name with %20 in its
> title line!

That seems to be a solution for IrfanView. But other programs may not be so kind to convert the SFN back to LFN.

Jürgen.

602 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 59 users online (0 registered, 59 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 4:38 pm UTC  |  Hits:62,373,086  (25,483 Today )
RSS Feed