ZTree.com  | ZEN  | About...  

 Index   Back

[Q] How to avoid that CMD.EXE replaces %2 in file name?   [Q]

By: Juergen Hestermann       
Date: Sep 04,2006 at 16:53

I have the following F9 entry to view picture files: 'start "" "d:\programme\irfanview\i_view32.exe" %1'. But if the file to view contains '%2' this is replaced (omitted) by the Windows command shell. For example, the file 'arcadia%20retro[1].jpeg' is converted to 'arcadia0retro[1].jpeg'. The same can be seen with the following F9 entry

echo param 1 = %1
pause

But if you use Ctrl+Batch to create a file with the file name then it is correct which proves that CMD.EXE does the conversion and not Ztree. I remember a discussion about this but cannot find it anymore. Is there a way to avoid this hassle?

Jürgen.

614 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 80 users online (1 registered, 79 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 1:09 pm UTC  |  Hits:62,367,693  (20,090 Today )
RSS Feed