ZTree.com  | ZEN  | About...  

 Index   Back

my EDIT.BAT, the speed is superb, it has a pizzazz   [ZEP]

By: Ryan       
Date: Sep 02,2017 at 05:57
In Response to: i figured this out with EDIT.BAT in Co1A, seems like a wonderful day again (Ryan)

@ECHO OFF

SET P1=START "" NOTEPAD.EXE
REM SET P2=START "" C:\Programs\IrfanView\i_view32.exe
SET P2=START "" C:\Programs\ACDSee32\ACDSee32.exe

Setlocal EnableExtensions DisableDelayedExpansion
SET /A ".TXT=.BAT=.TRU=.ZLS=.ZTM=.CMD=.VBS=.REG=.INF=.NFO=.INI=.CFG=.CONF=.HTM=.HTML=.BB2=.LOG=.BAK=.OLD=.BA_=.ZL_=.IN_.BMP=.JPG=0"
SET "%~X1=1"
SET /A ".EXT1=.TXT+.BAT+.TRU+.ZLS+.ZTM+.CMD+.VBS+.REG+.INF+.NFO+.INI+.CFG+.CONF+.HTM+.HTML+.BB2+.LOG+.BAK+.OLD+.BA_+.ZL_+.IN_,.EXT2=.BMP+.JPG"

IF "1" == "%.EXT1%" %P1% "%~1"
IF "1" == "%.EXT2%" %P2% "%~1"

GOTO :EOF



the speed is superb, it has a pizzazz

267 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Sep 20, 2019 - 6:56 pm EDT  |  Hits:28,653,181  (1,623 Today )
RSS Feed