ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Creating side-car files - Tagged files   [Help!]

By: Ben Kent       
Date: Sep 16,2023 at 10:16
In Response to: [Help!] Creating side-car files (John Leslie)

>
> Thanks, that's great! Pity it can't do it on tagged files, but good
> enough for now. Both responses are most appreciated!


1. Use Ctrl-Batch with this line mask, then run the generated file
copy nul %2%3%4.ext



2. Create a F9 Application menu item
----------------------
REM #ZTTag #ZTTemp\~ZTTag.bat -fCALL #ZTTemp\ZTW_MENU.BAT SUB1 %1
IF [%%1]==[SUB1] GOTO Sub1

SET ZTTagged=False
REM #ZTIfTagged SET ZTTagged=True
IF [%%ZTTagged%%]==[False] (
Call :NoTag %1
) ELSE (
CALL #ZTTemp\~ZTTag.bat
DEL #ZTTemp\~ZTTag.bat
)
PAUSE
goto :eof

:Sub1
SHIFT
:NoTag
Echo Process %%1
copy nul "%~dpn1.ext"
goto :eof
----------------------

69 views      
 

Messages in this Thread

 
96,456 Postings in 12,197 Threads, 350 registered users, 123 users online (0 registered, 123 guests)
Index | Admin contact |   Forum Time: Sep 30, 2023 - 6:23 am UTC  |  Hits:58,244,566  (9,313 Today )
RSS Feed