How does tcc search for perl*.dll

Sep 1, 2008
Does it traverse the path? Look at some registry key?

I installed 510 by zip file, and manually added the path to the registry, but %@perl[] can't find the dll.

Is it looking for env PERL5LIB, or ... something else magical?

Yes, I should probably install it properly, but I prefer to just ftype/assoc it manually and minimize the registry munging (which usually works great).


Staff member
May 14, 2008
JRohde wrote:

> Does it traverse the path? Look at some registry key?

TCC doesn't search for (or load) perl*.dll; that's done by Windows.

The Windows search order varies depending on the Windows version and
several registry variables, but roughly is:

1) The application directory
2) The current directory
3) The system directory
4) The Windows directory
5) The directories in the PATH

Things can get quite confusing when you throw in dll redirection,
side-by-side components, and manifests.

AFAIK Windows never looks for a registry key to determine the search.

Rex Conn
JP Software
Similar threads
Thread starter Title Forum Replies Date
deleyd How does TCC search for a command? Support 2 First TCC instantiation after reboot does not work. Support 17
A Tcc does not recognize "bcdedit" Support 20
D Does TCC improve CMD's implementation of ECHO? Support 6
twaterloo does tcc have a task sceduler Support 4
James Miller tcc shell window does not disappear Support 18
vefatica Does TCC know I'm visiting the forums? Support 76
MickeyF Why does my tcstart.btm sometimes terminate tcc.exe? Support 4
N TCC v12.10 COPY /F does not work Support 10
BobK New to TCC, Why does it use my old 4NT files? Support 3
L TCC/TCMD 11 Build 38 does no longer work ... Support 11
B TCC finds perl510.dll - does NOT like it ;) Support 2
vefatica Does TCC have a hand in this? Support 3
D Parsing an array variable to an array does not work Support 5
J Take command does not start on Windows 10 Support 3
J ffind does not find files Support 4
Joe Caverly PAUSE does not erase countdown timer Support 0
D ParentDirectory does not update directory history Support 6
D Documentation Help "Startup" page does not describe global lists Support 0
Charles Dye Does HASH's /E option do anything? Support 1
D Fixed @VERSION does not increment pre-fixed version numbers. Support 1
vefatica Why does @WSLPATH double the leading '/'? Support 7
D What does the file "..\Everything\Run history.csv" store? Support 5
Peter Murschall WAD rem does not work correctly Support 8
vefatica Does @SYMLINK work? Support 6
R Tree on FAT32 does not sort by name by default. Support 6
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
M Ctrl-C when using command line history does nothing Support 2
vefatica JOBS /K ... how does it work? Support 5
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
vefatica Find Files/Text dialog: does it work? Support 0
Alpengreis [v22.00.41] sync command flag "/X" does not work Support 22
Joe Caverly .PS1 script does not work with PSHELL Support 11
M MOVE does not behaves like intended (on failure) Support 1
R Fixed Sendmail parameter /USER= does not work Support 4
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
M Activation Key does not correspond… Support 2
D Lua does not work on the commandline Support 5
D Fresh instance of TCMD does not use TCMD.INI Support 7
D Fixed @Lua does not behave as documented Support 8
D everything /o does not open the option dialog Support 4
M Why does HELP keep opening in the background? Support 0
vefatica Why does my forum theme keep changing? Support 1 19.02.37 Does Not Install For Me Support 2
I Windows 10 console does not allow alt-F4 alias to complete Support 1
fromano WAD ver /r does not detect Win 10B10166 Support 5
Alpengreis Fixed BATCOMP /O does not work Support 1
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
E View (internal command) does nothing now Support 3
D How does Cut work? Support 8

Similar threads