20 April 2024, 19:23 | #1 |
Registered User
Join Date: Jul 2020
Location: Littlehampton
Posts: 32
|
AmigaDos wont show contents of Games directory?
Hi All,
Im not hot on AmigaDos, and I was trying to WHDLoad a game from Shell CLI to try and narrow down another issue with the miggy. Does any one know why typing the following would not display the contents of the Games folder on my CF card HD? System:Games> dir and it does not list anything. It just repeats the line above. In Opus you can or ScalOS you can see the hundreds of games and several layers of sub folders. But AmigaDos cannot find any files in Games folder? It is the correct file path. I used the following to check |
20 April 2024, 19:51 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,035
|
Most likely because the games are in a drive called Games, not in a folder called Games on the System drive.
try cd games: instead of cd games The former changes into a drive called Games. The latter changes into a folder called Games relative to the current directory. |
21 April 2024, 11:08 | #3 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,279
|
does "List" also show nothing? I am probably showing my stupidity after all these years but i didnt even know we had a proper "DIR" command, i thought we just had List and DIR was just an alias that used List? goes to show im still behind in common knowledge
|
21 April 2024, 16:05 | #4 | |
Registered User
Join Date: Jul 2020
Location: Littlehampton
Posts: 32
|
Quote:
This did help a lot, i did not realise the difference between "cd Games" and "cd Games:" but as stated these are two different features. Folders, or Drives. Im use to MS Dos which I have not encountered this before. Thank you. |
|
21 April 2024, 16:07 | #5 | |
Registered User
Join Date: Jul 2020
Location: Littlehampton
Posts: 32
|
Quote:
Hi will give this command a try aswell. thanks. I am use to tyoing dir/w/p but this is a MS Dos command, Ive realised the commands and features are different in AmigaDos. Will have to get a manual. |
|
22 April 2024, 13:22 | #6 | |
Registered User
Join Date: Aug 2010
Location: Germany
Posts: 537
|
Quote:
Because "Dir" is terse, there had to be a verbose counterpart, and this is the "List" command. While "Dir" expects to look into directories or volumes, complaining if it stubs its toes stumbling over files, "List" can do it all and show it all, no matter what it finds. However, it comes with a price: it might not do what you expected it to do. The "List" command does not expect the name of a directory or file, although it will graciously deign to make use of either, telling you what it found under its respective name. No, what it expects is a search pattern, and not just any random old kind. It has to be an AmigaDOS search pattern. Sure, "List foo" should work if a directory entry named "foo" exists, but "List (foo)" will almost certainly not if a directory entry named "(foo") exists. Why is that? It is because "(" and ")" are AmigaDOS wildcard pattern characters and the "List" command will keep looking for any directory entry whose name matches it. Funny enough, a directory entry named "(foo)" does not match the AmigaDOS search pattern "(foo)" which is why you are likely going to go from puzzled, to incredulous, to supremely annoyed and turning more and more purple in the face with every passing nanosecond. It may be no consolation that all over the world there is bound to be somebody right now who goes through the three stages of AmigaDOS-befuddlement at rapidly accelerating speed. The difference in behaviour between the "Dir" and "List" commands is the gift which keeps on giving. Mostly giving headaches and anger. Let's appreciate that for what it is, since there are only few such puzzling things in the world which seem to be designed to tell you that, let's face it, you ought to have read the manual first (which manual? actually, all the AmigaDOS manuals ever published, including their indices). And nobody likes a CLI command that revels in exuding the kind of smugness mere 1,000 lines of code should not be able to wield. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmigaDOS script: Replacing characters and checking if directory is empty | Frankie | Coders. Scripting | 9 | 30 March 2024 11:53 |
using fast mem to display directory contents | trixster | support.Apps | 4 | 17 April 2016 17:30 |
Changing date/timestamp of AmigaDOS directory? | rhester72 | support.Apps | 1 | 27 May 2015 23:42 |
Command or program to show directory size | olesio | support.Apps | 5 | 19 November 2009 14:18 |
Writing the contents of a directory to a text file | Shoonay | support.Other | 8 | 02 July 2007 17:55 |
|
|