07 December 2012, 21:30 | #1 |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
Searching for Programs/Files on WB3.1
Hi all,
We've reason to believe that certain software is already installed on our amiga HD which is using WB3.1. Rather than re-installing the software or searching through numerous directories to find them, is there a quick(er) way to search the Amiga HD for these suspected previously installed programs? Many Thanks Last edited by clitosa; 10 December 2012 at 19:47. |
07 December 2012, 21:38 | #2 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Open a CLI/Shell and type:
Code:
Search DH0: ALL FILE somename Code:
Search DH0: ALL FILE #?equ#? Code:
System3.1:C/RequestChoice System3.1:C/RequestFile System3.1:S/Startup-Sequence |
07 December 2012, 21:45 | #3 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Open a shell and type list DH0: ALL > DIR.TXT
You will then have a text file listing all files on your hard drive. Search that text for the filenames you're expecting to find. |
08 December 2012, 03:38 | #4 |
Registered User
Join Date: Aug 2007
Location: Tasmania, Australia
Age: 39
Posts: 1,189
|
You can keep track of your installed software and keep your system up to date if you install Grunch http://aminet.net/package/util/misc/Grunch
|
08 December 2012, 09:46 | #5 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
Dh1: All > Dir.txt
Quote:
Hi Prowler - that sounds great, thanks. From the sysinfo we can tell that our drives are DF0/CF0, (Floppy Drive & Compact Flash) Workbench (DH0) Work (DH1) Games (DH2) When we type in the command: DH1: ALL > DIR.TXT into shell we are given no response. For example shell will read: 8.Workbench:> DH1: ALL > DIR.TXT 8.Workbench:> Maybe it is just very slow. Should this happen? Should the .txt file be found on the desktop once (or if) completed? Thanks Last edited by clitosa; 08 December 2012 at 09:52. |
|
08 December 2012, 09:51 | #6 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
8.Workbench:> Search DH1: ALL FILE PPAINT
Quote:
Hi Mark, that worked thanks. In Amiga Shell it reads: New Shell process 8 8.Workbench:> Search DH1: ALL FILE PPAINT Work:Aplications Progs/PROGS/PPAINT/PPaint/PPaint This was our suspected program! Appreciated |
|
08 December 2012, 10:26 | #7 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Quote:
The List DH1: ALL >DIR.TXT command redirects the output of the List command to the file DIR.TXT. So it's normal that no text appears in the CLI window. The DIR.TXT file won't have an icon (.info file) so it won't appear by default from Workbench, unless you select the Window→Show→All Files menu item. Probably the easiest way to look through the listing is to use the Ed command. Ed is a simple text editor. Just do Ed DIR.TXT to load it. If you already have a full selection of apps on your hard disk you probably have a better text editor than Ed if you prefer to use that. As an alternative to List you can use the Dir command instead which may provide more compact/readable output. Use a command like Dir DH1: ALL >output.txt |
|
08 December 2012, 13:51 | #8 |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
CLI Confusion
Hi - yep, the "list" command was previously added. That's our bad when writing on this thread.
We have included pictures of our attempts to list the programs on DH1. If no text appears in the CLI window when using the command: list DH1: ALL > DIR.TXT and the "DIR.TXT" file does not have icon, where can this "DIR.TXT" be found? Right clicking the desktop and trying to goto "Window→Show→All Files" it is grey out in the menu item. We tried the following in Shell: 8. Workbench:>Dir DH1: ALL >output.txt Dir: unable to open redirection file 8. Workbench:>list DH1: ALL > DIR.TXT (Prompts the system Request Menu but nothing else) Are we doing something wrong? Ed text edit produces a list which makes little sense to us unfortunately Thanks for your input Last edited by clitosa; 08 December 2012 at 14:12. |
08 December 2012, 13:57 | #9 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
Grunch
Quote:
Thanks, m Last edited by clitosa; 08 December 2012 at 14:08. |
|
08 December 2012, 18:33 | #10 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
I don`t know why you get an "redirection error". At least here a redirected file without path will be created in current directory. When you type "cd" in CLI it will show the current directory.
It is better to add a full path. E.g.: Code:
list DH1: ALL >Ram:DIR.TXT |
08 December 2012, 19:38 | #11 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Quote:
Redirecting to dir.txt (or whatever name you chose) creates a file in the current directory. In your case that was most likely the root directory of your Workbench disk. You can show or change the current directory with the CD command. CD alone shows the current directory. CD dirname changes the current directory. For example to change to the RAM disk you'd type CD RAM: If you double-click the Workbench disk icon, the disk window will open. Then select Window→Show→All Files to show all files in that window. The system request in the picture is because the Workbench disk is full. Open a CLI window and type Delete DIR.TXT to delete the file. Or you can delete it from Workbench after showing all files. In future it will be a good idea to create the file in the RAM disk (RAM instead. So something like this: Dir DH1: ALL >RAM:dir.txt (Files in the RAM disk are lost when you power off.) Looking at the directory listing in the Ed editor, it seems like the machine's previous owner was German. Or, they used a German program which gives every file a comment with its creation and modification dates. You'll probably find it better to use the Dir command rather than List, since that doesn't show as much unnecessary detail. |
|
09 December 2012, 13:08 | #12 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
dir.txt: file is not executable
Quote:
Shell is starting to make more sense now, thanks to you. We have created a DIR.TXT within the RAM disk. Using the recommended: CD RAM: Dir DH1: ALL >RAM:dir.txt However, when we attempt to open the DIR.TXT file we are presented with the execute a file menu shown in the bottom half of the enclosed first picture. When we try to view the file by clicking on OK, we are given the error message inside the output window. Please see picture 2 dir.txt: file is not executable dir.txt failed returncode 10 As last time i believe we are doing something wrong. Any further assistance in this matter would be greatly appreciated. Thanks again for all your help |
|
09 December 2012, 15:27 | #13 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Enter multiview dir.txt into the input field.
If it replies multiview: unknown command, then you don't have WB 3.x (see other thread). In this case enter ed dir.txt or more dir.txt. You could as well use dir dh1: all without redirection. Then the output will be printed into the DOS window. You can stop the output by pressing any key and continue by deleting the key you entered. |
09 December 2012, 17:46 | #14 | |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
Quote:
I recommend you read up on AmigaDOS commands, things will probably make a lot more sense then. You can download a PDF of The AmigaDOS Manual from http://www.pagetable.com/?p=193. (There was a later version of the AmigaDOS manual covering Release 2 of AmigaDOS. I don't know whether that's available in PDF format though.) |
|
09 December 2012, 19:29 | #15 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
Will have to use our Ed
Quote:
Have downloaded the amigados manual. Looks good and will be very helpful in future. Much appreciated |
|
09 December 2012, 21:39 | #16 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
dir.txt file results
Quote:
Strangely enough, if we type multiview dir.txt into Shell we are given the screen shown in picture 3 which seems to open the dir.txt text file. Although we think this command shouldn't work on our version of WB2.1? Also, if we write more dir.txt into shell we get the screen shown in picture 4, which does not look like the contents of the dir.txt file. Confusing Can anyone shed light on this? Thanks |
|
09 December 2012, 21:47 | #17 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
How much free RAM do you have?
Lack of free RAM looks to be the cause of all those errors you are seeing. Of course, saving the dir.txt file to your RAM disk will eat up memory. Why don't you redirect the directory listing to your hard drive instead (as DH0:dir.txt, for example)? Then you'll have more free RAM to execute those commands. |
09 December 2012, 22:41 | #18 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Obviously somebody has renamed the AmigaGuide program into Multiview. The original Multiview does not have these buttons (Contents, Index, Help etc.) when viewing text files. It only shows them for guide files.
|
10 December 2012, 15:30 | #20 | |
CLI
Join Date: Nov 2012
Location: Northamptonshire England
Posts: 175
|
Full path
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Listing files, loading files and allocating all available chip ram. | h0ffman | Coders. System | 16 | 04 April 2013 21:24 |
WB3.1 more languages *Help* | W4r3DeV1L | support.WinUAE | 6 | 17 March 2013 21:42 |
Installing WB3.1 without losing files on the HD? | clitosa | New to Emulation or Amiga scene | 56 | 30 December 2012 01:20 |
WB2.1 or WB3.1 or WB3.9 | Olecranon | New to Emulation or Amiga scene | 3 | 02 September 2006 18:42 |
UAE files! Where is the database providing these WinUAE setup files? | taichi_tarot | Retrogaming General Discussion | 3 | 02 June 2006 00:36 |
|
|