Skip to content

Instantly share code, notes, and snippets.

@xulapp
Created August 27, 2011 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xulapp/1175225 to your computer and use it in GitHub Desktop.
Save xulapp/1175225 to your computer and use it in GitHub Desktop.
otbedit bat config
// language setttings for DOS Batch file
KeywordNocase:TRUE
KeywordFile:bat.txt
OpenComment:
CloseComment:
RowComment:::
BreakChars: !"%&().<=>\|
OperatorChars:&<=>|
BracketChars:)
QuoteChars:"
EscapeChar:\^
LanguageKeywordChars::@
CStyleIndent:FALSE
TagLanguageMode:FALSE
// DOS Batch file keywords
// from HELP command (Windows XP Professional SP3)
assoc
at
attrib
break
cacls
call
cd
chcp
chdir
chkdsk
chkntfs
cls
cmd
color
comp
compact
convert
copy
date
del
dir
diskcomp
diskcopy
doskey
echo
endlocal
erase
exit
fc
find
findstr
for
format
ftype
goto
graftabl
help
if
label
md
mkdir
mode
more
move
path
pause
popd
print
prompt
pushd
rd
recover
rem
ren
rename
replace
rmdir
set
setlocal
shift
sort
start
subst
time
title
tree
type
ver
verify
vol
xcopy
// context keyword
cmdextversion,2
defined,2
disabledelayedexpansion,2
disableextensions,2
do,2
else,2
enabledelayedexpansion,2
enableextensions,2
equ,2
errorlevel,2
exist,2
geq,2
gtr,2
in,2
leq,2
lss,2
neq,2
not,2
nul,2
off,2
on,2
// extra commands (network and scripting)
arp
cscript
finger
ftp
hostname
ipconfig
lpq
lpr
nbtstat
net
netsh
netstat
nslookup
ntbackup
ping
rcp
rexec
route
rsh
runas
telnet
tftp
tracert
wscript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment