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

382 views      
Thread locked
 

Messages in this Thread

 
95,075 Postings in 11,986 Threads, 350 registered users, 92 users online (2 registered, 90 guests)
Index | Admin contact |   Forum Time: Aug 10, 2020 - 6:20 pm EDT  |  Hits:33,015,937  (19,751 Today )
RSS Feed