21 February 2019, 19:41 | #1 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Duplicate exe in Path
I would test this but I'm on the train and want a quick answer
If I added two dirs to path and both contained an exe with the same name, what would happen if in then attempted to call that exe via Shell? I'm assuming that it would simply execute the first one it finds? The first dir that was added? |
21 February 2019, 20:59 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,002
|
Yes, it walks along the path and uses the first match.
It is even so stupid that it stops when it finds a file of that name, even if it is not an exe and even if there is an exe with the same name later in the path. |
22 February 2019, 01:56 | #3 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate DH0? | Swe_Kryten2x4b | support.Hardware | 9 | 26 September 2017 17:47 |
Duplicate Files | BippyM | project.TOSEC (amiga only) | 5 | 11 June 2009 20:55 |
Duplicate Accounts | BippyM | project.EAB | 12 | 04 December 2008 22:36 |
If WinUAE cannot detect your supposedly empty HDD, look for zap.exe or wipe.exe. | fmcpma | support.WinUAE | 5 | 08 August 2006 00:35 |
|
|