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: Запуск нескольких файлов с автоматическим расположением 
Author Message
Tol!k



PostPosted: Sun Apr 22, 2012 20:57    Post subject: Reply with quote

Code:

@echo off &setlocal enableextensions &chcp 1251 >nul
:: Пример параметров: "%L" 9

set play=start HideC.exe mplayer.exe -noborder -ontop -loop 0 -shuffle -playlist %1
goto :%2

:4
set xy=960
set h=0 960
set v=0 525
goto :play

:9
set xy=640
set h=0 640 1280
set v=0 350 700
goto :play

:16
set xy=480
set h=0 480 960 1440
set v=0 262 525 787
goto :play

:play
for %%v in (%v%) do (
   for %%h in (%h%) do (
      %play% -xy %xy% -geometry %%h:%%v
      ping -n 3 localhost >nul
   )
)
goto :eof
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group