Search found 2 matches

by pwatson
Wed Jan 16, 2013 10:36 pm
Forum: General
Topic: Really annoying - right click to open in Textpad.
Replies: 12
Views: 5699

Below is a batch script that works for me.

===

@ECHO OFF
SET _VI_PARAMS=%1 %2 %3 %4 %5 %6 %7 %8 %9

SET _VI_PARAMS_COPY=%_VI_PARAMS%
SET _LENGTH=0
:Loop
IF DEFINED _VI_PARAMS_COPY (SET _VI_PARAMS_COPY=%_VI_PARAMS_COPY:~1%&SET /A _LENGTH += 1&GOTO Loop)

SETLOCAL ENABLEDELAYEDEXPANSION
FOR /L %%a ...
by pwatson
Tue Jan 15, 2013 3:27 pm
Forum: General
Topic: Really annoying - right click to open in Textpad.
Replies: 12
Views: 5699

This is still a problem in 6.2.2 when starting from a shell command line. Is there a fix or workaround?