Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Content-плагин: NTFS Descriptions 
Author Message
Itar-Tass



PostPosted: Mon Jan 18, 2010 04:22    Post subject: Reply with quote

Если так то все равно сразу закрывается.Где ошибка?
Quote:

@echo off &chcp 1251 >nul
rem Добавление комментариев из descript.ion в поток :comment.txt
rem Параметры: %F
rem Используется super-sed http://sed.sourceforge.net/grabbag/ssed/sed-3.62.zip

setlocal enableextensions
for /f "delims=" %%f in (%1) do (
call :d "%%f"
)
pause
exit /b

:d
set "f=%~1"
set "f=%f:\=%"
if "%f%"=="%f: =%" (
ssed.exe -n s/^%f%\s//p descript.ion
rem for /f "tokens=1*" %%c in ('findstr /b /c:"%~1" descript.ion') do echo %%d
) else (
ssed.exe -n s/"^\"%f%\"\s"//p descript.ion
)
goto :eof
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group