31 March 2013, 16:19 | #1 |
Posts: n/a
|
AmigaDos
Hi. When using the shell to copy from one drive to another could someone explain the commands?
For example: If I was copying from DH0: called 'System' a hello.txt file to DH1: called Work I assumed I would use Copy hello.txt system:Work It didn't seem to work. Another example (not about copying) I can get programs installed no problems by following the tutorials such as this by typing lha x programs:WHDLoad_usr.lha programs: but I'd like to understand better what I'm typing despite it working in this instance. Is the first 'programs' the location of the file and the final one the destination of the install? Whats the x for and why start lha? (I understand the WHDLoad_usr.lha is the file I working with) but I'd like to understand the rest of the command because I hate blindly typing things because when it doesn't work (like copy) I'm stuck. Cheers |
31 March 2013, 17:13 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,315
|
You always can type (in a shell) the command with a "?" following to get the template. For example:
Code:
copy ? FROM/M,TO/A,ALL/S,QUIET/S,BUF=BUFFER/K/N,CLONE/S,DATES/S,NOPRO/S,COM/S,NOREQ/S: copy FROM work:folder/morefolder/filename TO ram: CLONE You can leave FROM and TO but you should use CLONE as default. In the AmigaDOS manual you have a description of all OS commands. For LHA just type "lha ?" in a shell to get some short help but read the documentation. |
01 April 2013, 08:13 | #3 | |
Zone Friend
Join Date: Jun 2005
Location: Warsaw/Poland
Age: 45
Posts: 2,444
|
Quote:
Copy SYSTEM:hello.txt Work: or Copy FROM SYSTEM:hello.txt TO Work: |
|
02 April 2013, 08:01 | #4 |
Registered User
Join Date: May 2010
Location: Helsinki, Finland
Posts: 1,341
|
@Hockmiester
The syntax with lha is "lha x archive.lha (target)", target will be the current directory if you specify nothing else. You are not "installing" anything really, you are unpacking an .lha archive just like you would a .zip/.rar/.tar.gz on other systems. It just often happens to be the case that programs do not require any further installation, but they might. The option "x" means unpack. Check the lha docs for more if you are interested. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmigaDOS question | brolly | support.Other | 9 | 23 August 2012 02:12 |
AmigaDos Guide? | spookt | New to Emulation or Amiga scene | 2 | 15 December 2009 14:44 |
AmigaDOS scripts | lloyd | Coders. General | 2 | 22 November 2004 19:47 |
AmigaDOS | Swordlord | New to Emulation or Amiga scene | 28 | 05 March 2004 23:31 |
AmigaDOS help | BippyM | Amiga scene | 1 | 08 July 2003 23:46 |
|
|