alar73
Joined: 28 Aug 2005 Posts: 4
|
(Separately) Posted: Sun Aug 28, 2005 10:25 Post subject: реакция на расширение как в других ФМ |
|
|
в старых файл менеджерах описывая реакцию на расширение можно было передать программе в качестве параметров (используя метасимволы) название без расширения, расширение без названия, путь и т.п. как можно это сделать в TC? |
|
Evgenych
Joined: 25 Jan 2005 Posts: 53
|
(Separately) Posted: Sun Aug 28, 2005 10:59 Post subject: |
|
|
Quote: |
Dialog box: Configuration - Change button bar
...
...
Parameters: Here you can specify command line parameters. Fixed parameters must be specified directly after the file name, because otherwise, in a Drag&Drop, only the file name would be given to the program.
Special parameters:
? as the first parameter causes a Dialog box to be displayed before starting the program, containing the following parameters. You can change the parameters before starting the program. You can even prevent the program's execution.
%P causes the source path to be inserted into the command line, including a backslash (\) at the end.
%N places the filename under the cursor into the command line.
%T inserts the current target path. Especially useful for packers.
%M places the current filename in the target directory into the command line.
%O places the current filename without extension into the command line.
%E places the current extension (without leading period) into the command line.
Note: %N and %M insert the long name, while %n and %m insert the DOS alias name (8.3). %P and %T insert the long path name, and %p and %t the short path name. (Same for %o and %e)
%% inserts the percent-sign.
%L, %l, %F, %f, %D, %d create a list file in the TEMP directory with the names of the selected files and directories, and appends the name of the list file to the command line. The list is deleted automatically when the called program quits. 6 types of list files can be created:
%L Long file names including the complete path, e.g. c:\Program Files\Long name.exe
%l (lowercase L) Short file names including the complete path, e.g. C:\PROGRA~1\LONGNA~1.EXE
%F Long file names without path, e.g. Long name.exe
%f Short file names without path, e.g. LONGNA~1.EXE
%D Short file names including the complete path, but using the DOS character set for accents.
%d Short file names without path, but using the DOS character set for accents.
|
- оно? |
|