View Single Post
Old 08 December 2012, 19:38   #11
Registered User
Join Date: Aug 2004
Posts: 2,959
Originally Posted by clitosa View Post
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
Several points here, I'll try to address them in the same order as your posting.

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.
mark_k is offline  
Page generated in 0.03989 seconds with 10 queries