add batch_file highlighting
This commit is contained in:
parent
2868df4b28
commit
73ad918a6b
5 changed files with 177 additions and 1 deletions
15
demo/kitchen-sink/docs/batch_file.bat
Normal file
15
demo/kitchen-sink/docs/batch_file.bat
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
:: batch file highlighting in Ace!
|
||||
@echo off
|
||||
|
||||
CALL set var1=%cd%
|
||||
echo unhide everything in %var1%!
|
||||
|
||||
:: FOR loop in bat is super strange!
|
||||
FOR /f "tokens=*" %%G IN ('dir /A:D /b') DO (
|
||||
echo %var1%%%G
|
||||
attrib -r -a -h -s "%var1%%%G" /D /S
|
||||
)
|
||||
|
||||
pause
|
||||
|
||||
REM that's all
|
||||
Loading…
Add table
Add a link
Reference in a new issue