Total commander изменить путь к ini
Последняя финальная версия: 7.04a
Предыдущие версии: 7.0x: 7.04, 7.03, 7.02a, 7.02, 7.01, 7.0 ; 6.5x: 6.58 ; 6.0x: 6.03a
Кто знает, когда ждать финальную версию x.xx?
"Когда будет готова!" - (c) Гислер.
На вопрос "Когда будет русик к версии x.xx?" ответ точно такой же. (c) CaptainFlint
Переводы меню/интерфейса v6.0+:
от CaptainFlint (v7.0 3 , 14.09.2008, с переводом справки ): HLP (зеркало), CHM (зеркало)
от М. Жилина (v7.00.03, 13.07.2008): Здесь
Официальный сайт разработчика | Русский сайт о Total Commander | Польский сайт о Total Commander (англ.)
Тотальная установка TC | ВСЕ команды Total Commander
Настроенные и русифицированные СБОРКИ
Все вопросы по лечению пациента Только в Варезнике
Все вопросы по плагинам - в Плагинах
2. Думаю замученный вопрос, где Тотал хронит настройки свои?, а то вроде все настроишь как тебе удобно, потом систему переставишь, запускаешь его, и снова настраивай, вид и т.д.
Единая конфигурация для всех пользователей:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander]
"FtpIniName"=".\\wcx_ftp.ini"
"IniFileName"=".\\wincmd.ini"
Персональная конфигурация для каждого пользователя:
REGEDIT4
[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
"FtpIniName"=".\\wcx_ftp.ini"
"IniFileName"=".\\wincmd.ini"
Ее нужно уметь читать и понимать
Нашел , чтобы убрать действие для типа "Папка" нужно в ветке реестра
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\Shell убрать соответствующий подраздел. А флаг "действие по умолчанию" убирается удалением значения параметра "По умолчанию" непосредственно в разделе Shell.
Тип "Папка с файлами" пока в реестре не нашел, но для этого типа кнопки "Изменить" и "Удалить" активны.
А как сделать, чтобы при открытии таким макаром папки в ТС не запускалась новая копия сабжа, а вкладка открывалась в запущенном сабже? Опцию сабжа "Запрет одновременного запуска нескольких копий ТС" не предлагать .
Есть например папка с кучей шрифтов, какой-то файл называется, например, VINERITC.TTF, а шрифт - Viner Hand ITC. Можно смотреть менеджерами шрифтов, но это не очень удобно. Есть плагины-просмотрщики через листер, но это тоже не то. Хочу именно через пользовательскую колонку.
Как переопределить wincmd.ini местоположение после установки Total Commander ? Я не могу найти пункт меню для этой настройки. Где хранится этот параметр? Операционная система Windows XP или Windows 7 32bit.
Сначала отредактируйте wincmd.ini, найдите UseIniInProgramDir= и установите его равным 7.
UseIniInProgramDir = Flags sum Эта переменная будет считана только в том случае, если файл wincmd.ini находится в том же каталоге, что и программа. Это сумма следующих значений: 0: отключено 1: использовать wincmd.ini в каталоге программ. если никакое другое местоположение не задано через реестр или параметры 2: Используйте wcx_ftp.ini в директории программы. если другое расположение не задано через реестр или параметры 4. Переопределите параметры реестра (но не параметры командной строки)
Затем отредактируйте ярлык для Total Commander, чтобы он выглядел так:
Где TC_path - это путь к totalcmd.exe, а config_path - желаемый путь к wincmd.ini.
На моем рабочем компьютере файл wincmd.ini недоступен для записи пользователем, поэтому я хочу переопределить его своим собственным :( Возможно ли это? Или мне нужно установить переносную версию?
Мне это тоже нужно, но для 2 файлов: wincmd.ini и wcx_ftp.ini.
Я сделал копию оригинальных файлов и переименовал их для личного пользования. Возможно, вам придется изменить каталоги: у меня есть c:\totalcmd\ .
На самом деле есть подробное объяснение того, где Total Commander ищет свои INI-файлы. Я лично использую метод реестра, чтобы переместить мой:
Хотя я использую аргументы командной строки в ярлыках (файлы .lnk) при запуске с моего привода, на моем компьютере я установил реестр в нужное мне место. Это позволяет мне изменять имя wincmd.ini файла для каждой машины, не беспокоясь о том, какой ярлык запустить.
Расположение реестра здесь (отображается в виде файла .REG):
Чтобы применить одно и то же местоположение ко всей системе (всем пользователям), используйте следующий ключ. Но настройки в HKEY_CURRENT_USER ключе каждого пользователя будут переопределены HKEY_LOCAL_MACHINE .
ПРИМЕЧАНИЕ. Возможно, вам придется заменить envars в моем примере реальными местоположениями, прежде чем импортировать его.
Переменные окружения («Переменные среды», «environment variables») — текстовые переменные, наследуемые дочерниними процессами от родительского.
Это означает, что переменные заданные для всей операционной системы будут доступны во всех запущенных приложениях; для пользователя – всех приложениям, запущенным этим пользователем; для какого-нибудь другой программы – только в запущенных через нее.
Не следует путать с псевдопеременными окружения. Последние не наследуются, а значит могут использоваться только в Total Commander.
Resolution-dependent data
The two dividers can be set independently by choosing 'save position' in the appropriate mode (with and without quick view panel).
DriveHints
Confirmation
Lister
0: Load as binary, but display if user chooses mode 'picture'
Example: *.xyz *.abc
0: Load as binary, but play if user chooses mode 'picture'
0=auto, 1=text, 2=binary, 3=hex, 16=ansi, 32=ascii, 48=variable
Layout
Command line history
Buttonbar
Left, Right
Extensions
Packer
0: Create SunOS-compatible TAR archives
0: For floppies like 1, for larger media (ZIP, JAZ) directly on the media without the TEMP dir
Содержание
Помимо пакетных файлов (bat) переменными окружения можно пользоваться там, где допускается использование синтаксиса коммандной строки, и целесообразно везде, где требуется или может потребоваться переносимость (portable). Total Commander – пример этому самый подходящий.
В Windows к переменным окружения можно обращаться из командной строки заключая имя переменной в знаки "%"
Имя переменной регистронезависимо (%VAR% и %Var% – одна и та же переменная).
Для управления ими в cmd.exe встроена команда set, я распространятся о ней не буду, к ней написан неплохой мануал ( set /? ). Инициализируемые при запуске системы значения хранятся в реестре в ключе HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\ . Если предпочитаете визуальный интерфейс консоли и реестру, обратите внимание на файлсистемный плагин Environment Variables, позволяющий управлять переменными среды прямо из панели TC.
Кроме как непосредственно в командной строке переменные окружения можно использовать
- в ключах wincmd.ini, где указаны какие-либо файловые пути
- в пользовательских командах, пунктах меню "запуск" и "избранные каталоги", кнопках меню
- в настройках большинства плагинов и утилит.
- в диалогах (копирования, перемещения, создания, группового переименования, прочих);
- в сочетании с тоталовской командой md, если нужно, используйте соотв. псевдопеременную или cmd /c md %VAR% ;
- в настройках плагина Plugin Manager (расположение wincmd.ini);
Обратите внимание, что пути к директориям возвращаются, как правило, без обратной косой черты в конце.
Total Commander при запуске создает для своего процесса три переменные окружения:
Имя | Описание | Пример |
---|---|---|
%COMMANDER_DRIVE% | имя диска, с которого запущен TC | C: |
%COMMANDER_PATH% | путь к каталогу, из которого запущен TC | C:\WINCMD |
%COMMANDER_INI% | путь к текущему главному конфигурационному файлу TC | C:\WINCMD\wincmd.ini |
Имя | Описание | Пример |
---|---|---|
%ALLUSERSPROFILE% | размещение профиля «All Users» | C:\Documents and Settings\All Users |
%APPDATA% | пользовательская папка «Application Data» | C:\Documents and Settings\MAIN\Application Data |
%COMMONPROGRAMFILES% | обычно %ProgramFiles%\Common Files | C:\Program Files\Common Files |
%HOMEDRIVE% | диск, где расположен корневой каталог | C: |
%HOMEPATH% | корневой каталог, относительно диска | \Documents and Settings\MAIN |
%HOMESHARE% | сетевой путь к общему каталогу пользователя | |
%PROGRAMFILES% | папка Program Files | C:\Program Files |
%SYSTEMDRIVE% | диск, откуда запущена Windows | C: |
%SYSTEMROOT% | каталог, откуда запущена Windows | C:\WINDOWS |
%TEMP% | временный каталог | C:\DOCUME~1\MAIN\LOCALS~1\Temp |
%TMP% | временный каталог | C:\DOCUME~1\MAIN\LOCALS~1\Temp |
%USERPROFILE% | профиль текущего пользователя | C:\Documents and Settings\MAIN |
%WINDIR% | обычно %SYSTEMROOT% | C:\WINDOWS |
Другие переменные окружения, которые могут пригодиться. Список неполон.
Sam_Zen Power Member
Posts: 700 Joined: 2005-02-08, 22:59 UTC Location: NL Contact:
Colors
Also, the key 'ColorFilters' in General settings must set to 1 in order to apply color filter settings.
ThumbnailFrame=000255000 (RGB) The example show a green frame.
Enter hexadezimal values for colors in the reverse order: BGR (blue, green, red)
ThumbnailFrame=$FF0000 Draws a blue frame around thumbnails
Packerplugins
1: Can create new archives
2: Can modify existing archives
4: Can handle multiple files in one archive
8: Can delete files from archive
16: Supports the options dialog
32: Supports packing in memory
64: Detects archive type by content
128: Allows searching for text in archives
256: Don't open with Enter, only with Ctrl+PgDn
512: Supports encryption
Do NOT add this number yourself, Total Commander will add it on the first load of the DLL.
Shortcuts
3 Ways
Post by *Clo » 2009-02-15, 20:39 UTC
2Sam_Zen
• Prior, I hope you are better now !
- You could use the INIRELOC tool to change the location of your INI,
- You can also copy it in the installation dir. , then set in the WINCMD.INI :
[Configuration]
UseIniInProgramDir=7
- I have also (before that entry exists) changed the Registry as :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander]
"IniFileName"=".\\wincmd.ini"
"FtpIniName"=".\\wcx_ftp.ini"
"InstallDir"="K:\\TC_7-tests"
- Indeed, adapt the paths to your machine…
- Best wishes of fast health recovery,
Sam_Zen Power Member
Posts: 700 Joined: 2005-02-08, 22:59 UTC Location: NL Contact:
Post by *Sam_Zen » 2009-02-16, 00:43 UTC
Thanks Claude, for your concern. Recovery will be slow though, but as long as I can work, it's fine.
I chose for the INIRELOC tool, it's a 'native' tool after all.
Worked fine. Lost my dir hotlist for a moment, but after an off/on of TC it was correct again.
ACDEF and the ini file EFGH, then this will be combined to EF.
The registry key has the adavantage that it can be protected by the admin, so the users cannot change it.
1: Moves the selection up/down when leaving the commandline so you lose the previous selection
1: Default comment type is files.bbs
2: Default comment type is descript.ion
4: Read comments from both types
8: Copy comments belonging to files. The comment files themselves are skipped.
16: Use DOS charset for descript.ion (files.bbs always uses the DOS charset)
Note: If both 1 and 2 are set, 2 takes precedence
Recommended values (try others yourself):
CopyBlockSize=1024
CopyHugeBlockSize=10240
CopyBlockSizeOther=128
CopyHugeBlockSizeOther=32
When copying between E and F (same physical disk) the first two values will be used, when copying between C and D (different disk) the values with 'Other' in the name.
0: Do not count files (faster)
0: Do not count files (faster)
116,0 K / 230,2 M in 2/14 file(s) 5 / 7 dir(s)
0: Only the data concerning the files are shown
116,0 K / 230,2 M in 2/14 file(s)
0= Moves the current position in the history list to the selected item
0=none, 1=local, 2=in nethood, 3=both
2: Disable inplace rename of path, but enable quick directory changes with single click (no shift needed)
1: Click on [ \ ] switches to root directory of the drive
0: always create a new tab
1: re-use tab with same dir
2: re-use first unlocked tab
3: re-use last unlocked tab
Example: Noreread=ABC\ and Noreread2=AB\ : Don't auto-reread floppies, drive c and the net, but remember directories on C when closing and re-opening Total Commander.
Example: pluginbasedir=%COMMANDER_PATH%\plugins
Offered path for packer plugin sample_packer:
%COMMANDER_PATH%\plugins\wcx\sample_packer\
0: makes transfer in user mode -> slower, but better multitasking
This setting only affects Win95/98/ME. On WinNT/2000, all transfers must be in a driver.
2: Same as 1, but also in branch view
3: Preload just the next two lines below the visible thumbnails
1: Exact match: typing win.i finds only win.ini, but doesn't find wincmd.ini
1=Start menu
2=Command line
4=Buttonbar change
8=Drive right click menu
16=File right click menu
32=Directory hotlist change
64=FTP (CTRL+N, CTRL+F)
128=ENTER key (run programs, open files)
256=File system plugins
Example: SearchInFiles=*.EXE *.JAR
0= Double click starts programs (default)
0=bytes, 1=kbytes, 2=dynamic, 3=dynamic with fractional part
0=bytes, 1=kbytes, 2=dynamic, 3=dynamic with fractional part
1: When sorting files, put files starting with an underscore _ last
2: Uses mixed lexical and numerical sorting, e.g. file10.txt comes AFTER file1.txt
3: Like 2, but uses StrCmpLogicalW for the comparison. 3 needs IE 6.x installed!
1: Left to right
2: Equal files
4: Not equal files
8: Right to left
16: Duplicates (present on both sides)
32: Single files (present on only one side)
1: include subdirs
2: compare by content
4: ignore date of files
8: asymmetric mode
0: nothing
1: open new tab
2: ask user
Sum up the following values:
1 = Use Explorer method.
2 = Get from Lister plugins.
4 = Get from IrfanView/XnView.
8 = Show the first few lines of plain text.
Default location in Windows 9x/ME: Totalcmd dir;
Windows NT/2000/XP: %APPDATA%\GHISLER (or %APPDATA%\GHISLER if %$LOCAL_APPDATA% doesn't exist).
%D% is replaced by the drive letter (or root of share, \ replaced by _)
%R% is replaced by the root path
%L% is replaced by the volume label.
Please note that these variables MUST be upperase, otherwise TC will look for the environment variables with these names!
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
1: XP Style (must be enabled in Windows)
2: Flat buttons
3: Usual buttons (This variable is unofficial)
Just add the following numbers:
1: turn option on (default: off)
2: also detect changes to size, date, attributes
4: put newly added files at the END of the file list (default: sorted)
8: don't react to updates while TC isn't in the foreground
16: Update footer (total file sizes)
32: Update header (free disk space)
256: Beep on each auto-update (useful for debugging)
Useful e.g. to turn off auto-refreshing on slow drives.
0: use Total Commander's own function to delete files (most configuration options)
1: use Explorer's method to delete files
-1 (default): If Cleansweep is running, use Explorer's method to avoid a crash
(caused by an incompatibility between Cleansweep and Total Commander's delete method).
If Cleansweep is not running, Total Commander uses its own method.
0: WMF file display disabled. Disables also display of all folder thumbnails.
1: Allow to display WMF (Windows Metafile) images in Lister and thumbnails.
2: Allow to display thumbnails for folders (which may contain wmf files)
3: Show WMF files and folder thumbnails
-1: Allow folder thumbnails if the Windows patch is installed. WMF files will NOT be shown, they must be enabled manually. WMF has been disabled by default due to a severe security hole in Windows.
0: The permissions of the files are kept
Default: XP:1, other systems: 0
Tabstops
/i=name.ini: Use a different INI file name instead of wincmd.ini to save settings
/F=ftpname.ini: Use a different INI file name instead of wcx_ftp.ini to save settings for built-in FTP client.
Change .ini location
Post by *Sam_Zen » 2009-02-15, 20:25 UTC
To keep on working during my stay in hospital, a notebook was prepared for me.
Unfortunately at the install of TC the wincmd.ini file was set to be in the windoze directory.
What's a proper way to change this and have wincmd.ini active in the root of TC again, as it should be ?
Clo Moderator
Posts: 5731 Joined: 2003-12-02, 19:01 UTC Location: Bordeaux, France Contact:
Читайте также: