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: 2 десктопа в одном 
Author Message
Batya



PostPosted: Fri Aug 13, 2010 15:19    Post subject: Reply with quote

Flasher wrote:
Видимо, мне так запала в голову та конструкция, что не удержался.

Здесь, кстати переменная FSO вообще не нужна. А от переменной WSH можно отказаться так:

Code:
'Открыть указанную папку в новой вкладке
'Параметры: "<PATH>"
Path = WScript.Arguments(0)
With CreateObject("WScript.Shell")
  TCPath  = .ExpandEnvironmentStrings("%Commander_Path%") & "\totalcmd.exe"
  .Run """" & TCPath & """ /S /O /T /L=""" & Path & """"'
End With
WScript.Quit

_________________
Нет, я не сплю. Я просто медленно моргаю.
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group