summaryrefslogtreecommitdiff
path: root/bin/symilar.bat
diff options
context:
space:
mode:
Diffstat (limited to 'bin/symilar.bat')
-rw-r--r--bin/symilar.bat23
1 files changed, 4 insertions, 19 deletions
diff --git a/bin/symilar.bat b/bin/symilar.bat
index 24e339e..88e566b 100644
--- a/bin/symilar.bat
+++ b/bin/symilar.bat
@@ -1,20 +1,5 @@
@echo off
-rem = """-*-Python-*- script
-@echo off
-rem -------------------- DOS section --------------------
-rem You could set PYTHONPATH or TK environment variables here
-python -x "%~f0" %*
-goto exit
-
-"""
-# -------------------- Python section --------------------
-import sys
-from pylint.checkers import similar
-similar.run()
-
-
-DosExitLabel = """
-:exit
-rem """
-
-
+rem Use python to execute the python script having the same name as this batch
+rem file, but without any extension, located in the same directory as this
+rem batch file
+python "%~dpn0" %*