English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 06 June 2018, 17:00   #1
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 46
Posts: 1,328
Complex AmigaDOS wildcards

So, the way I see it, the #? wildcard for AmigaDOS works as in: ? is any single character, and the # prefix before ? is for any number of characters. So if I use this Windows CMD wildcard for a filename:

Code:
"?2 *.exe"
then the AmigaDOS equivalent would be:

Code:
"?2 #?.exe"
?

I'm not able to try this out for the moment as I'm not at home, but am I correct, and that the ? wildcard can be used in multiple places in a filename?
Foebane is offline  
Old 06 June 2018, 18:02   #2
adolfo.pa
Registered User

 
Join Date: Aug 2017
Location: Spain
Posts: 30
Yes, that's correct. AFAIK, there's no limitation on the complexity of a pattern.
adolfo.pa is offline  
Old 06 June 2018, 21:08   #3
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,710
http://wiki.amigaos.net/wiki/Pattern_Matching
thomas 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
asm code to process DOS wildcards jotd Coders. System 4 28 May 2016 10:48
CLI basic question: wildcards r0ber7 support.Other 2 18 February 2011 20:18
Paranoia Complex german mai support.Games 1 01 February 2011 01:14
Expanding command line wildcards and Icon Drag and Drop zoneuser Coders. General 5 13 April 2010 20: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 09:28.


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