From 20a7e0c2bd349840f873086827f627cb2add6c5c Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 29 Aug 2013 10:42:10 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20cmdrc.bat=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=B4=20=D0=BA=D0=BE=D0=BF=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=D0=BC=20=D0=BD=D0=BE=D0=B2=D0=BE?= =?UTF-8?q?=D0=B9=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/shell/wincmd/installcmd.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/shell/wincmd/installcmd.bat b/etc/shell/wincmd/installcmd.bat index 4c3616c..25ba7aa 100755 --- a/etc/shell/wincmd/installcmd.bat +++ b/etc/shell/wincmd/installcmd.bat @@ -1,5 +1,5 @@ :: Создан: Пн 26 авг 2013 14:08:03 -:: Изменён: Вт 27 авг 2013 15:10:52 +:: Изменён: Чт 29 авг 2013 09:30:58 @ECHO OFF @@ -12,7 +12,8 @@ if "%1" == "" (set rootDir=%APPDATA%\bin\win) else (set rootDir=%1) mkdir "%rootDir%" -copy cmdrc.bat "%rootDir%" +del /F "%rootDir%\cmdrc.bat" +copy cmdrc.bat "%rootDir%\" reg add "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d "\"%rootDir:\=\\%\\cmdrc.bat\""