English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 21 February 2019, 20:41   #1
killergorilla
Lesser Talent
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 38
Posts: 7,956
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?
killergorilla is offline  
Old 21 February 2019, 21:59   #2
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,879
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.
thomas is offline  
Old 22 February 2019, 02:56   #3
killergorilla
Lesser Talent
killergorilla's Avatar
 
Join Date: Jan 2003
Location: UK
Age: 38
Posts: 7,956
Quote:
Originally Posted by thomas View Post
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.
Excellent! Thanks for the info.
killergorilla is offline  
 


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 18:47
Duplicate Files BippyM project.TOSEC (amiga only) 5 11 June 2009 21:55
Duplicate Accounts BippyM project.EAB 12 04 December 2008 23:36
If WinUAE cannot detect your supposedly empty HDD, look for zap.exe or wipe.exe. fmcpma support.WinUAE 5 08 August 2006 01:35

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06118 seconds with 13 queries