English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 10 August 2020, 19:52   #1
josephgut
Registered User
 
Join Date: Jul 2020
Location: Los Angeles, California, USA
Posts: 42
Super Basic Newbie Question

Hi,

After may years I've returned to the Amiga and I'm using Cloanto's Amiga Forever disks. During install it created a "Work" volume/directory. I'm trying to figure out how to CD into that directory, but can't figure it out. I know linux well, but none of the standard commands appear to work. Also, is there a general command in AmigaDos to list all volumes on the computer? Thanks for any assistance, and I hope this is the correct place for asking this.

Thanks,
Joseph
josephgut is offline  
Old 10 August 2020, 20:08   #2
amiman99
Registered User
 
amiman99's Avatar
 
Join Date: Sep 2009
Location: San Antonio, TX USA
Age: 50
Posts: 1,185
Oops I guess I miss understood the question.
Type CD volume name like:

CD Work:

Last edited by amiman99; 10 August 2020 at 23:50.
amiman99 is offline  
Old 10 August 2020, 23:34   #3
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by josephgut View Post
Hi,

After may years I've returned to the Amiga and I'm using Cloanto's Amiga Forever disks. During install it created a "Work" volume/directory. I'm trying to figure out how to CD into that directory, but can't figure it out. I know linux well, but none of the standard commands appear to work. Also, is there a general command in AmigaDos to list all volumes on the computer? Thanks for any assistance, and I hope this is the correct place for asking this.

Thanks,
Joseph
This is a good starting point for AmigaDOS; although it's for above 3.1: https://wiki.amigaos.net/wiki/AmigaO...mand_Reference
DamienD is offline  
Old 10 August 2020, 23:51   #4
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,411
Quote:
Originally Posted by josephgut View Post
Hi,

After may years I've returned to the Amiga and I'm using Cloanto's Amiga Forever disks. During install it created a "Work" volume/directory. I'm trying to figure out how to CD into that directory, but can't figure it out. I know linux well, but none of the standard commands appear to work. Also, is there a general command in AmigaDos to list all volumes on the computer? Thanks for any assistance, and I hope this is the correct place for asking this.

Thanks,
Joseph
On the Amiga, the cd command works as follows:
cd <<volume>>:<<directory1>>/<<directory2>>
In the form of an example:
Code:
cd work:directory1/directory2
Moving to the directory above the current one is done as follows:
Code:
cd /
The shortcut for the current directory is "". So:
Code:
copy ram:testfile ""
would copy the file testfile from the RAM disk to the current directory

The wildcard for "all files" is #?
Code:
copy ram:#? ""
copies all files from RAM to the current directory. Use the ALL keyword to copy all content in subdirectories as well
Code:
copy ram:#? "" ALL
The command to show all volumes is
Code:
info
There are many other commands. Including delete, dir, format, etc. Note that Amiga OS by itself is case insensitive. So both cd and CD will work.

Also note that you can go directly to a volume or directory by merely typing it's name:
Code:
work:
directory1
directory2

Now you are in work:directory1/directory2
roondar is online now  
Old 10 August 2020, 23:52   #5
josephgut
Registered User
 
Join Date: Jul 2020
Location: Los Angeles, California, USA
Posts: 42
Hi,

I tried that originally, but unfortunately it didn't work - couldn't find "Work". I think it may be assigned to dh1: so I'm going to try some variances of that.

Thanks.

Quote:
Originally Posted by amiman99 View Post
Oops I guess I miss understood the question.
Type CD volume name like:

CD Work:
josephgut is offline  
Old 10 August 2020, 23:53   #6
Radertified
Registered User
 
Join Date: Jan 2011
Location: -
Posts: 728
Assuming you have a volume named "Work". Let's say it's assigned to DH0.

To CD into that volume:

cd Work:

or

cd DH0:

or

Work:

or

DH0:

To CD into a directory in that volume, it's the same thing but with the directory name appended, such as:

cd Work:directory_name

or

cd DH0:directory_name/

etc.

To list all volumes:

info

Last edited by Radertified; 10 August 2020 at 23:58. Reason: Added end slash after directory_name to show that's allowed too.
Radertified is offline  
Old 11 August 2020, 00:58   #7
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Quote:
Originally Posted by josephgut View Post
I tried that originally, but unfortunately it didn't work - couldn't find "Work".
Don't forget the colon "CD Work:"
You can even skip the cd command in AmigaOs and just type "Work:" and press Enter.
Quote:
Originally Posted by josephgut View Post
I think it may be assigned to dh1: ....
Just type "Assign" and Enter to list all the active assigns.
Nightshft is offline  
Old 11 August 2020, 19:02   #8
-Acid-
Registered User
 
Join Date: Oct 2012
Location: South Shields
Posts: 812
you dont even need to type CD... just the drive path works
-Acid- is offline  
Old 12 August 2020, 17:58   #9
josephgut
Registered User
 
Join Date: Jul 2020
Location: Los Angeles, California, USA
Posts: 42
Thank you so much for your response - this answered all of my questions perfectly.

Best,
Joseph

Quote:
Originally Posted by roondar View Post
On the Amiga, the cd command works as follows:
cd <<volume>>:<<directory1>>/<<directory2>>
In the form of an example:
Code:
cd work:directory1/directory2
Moving to the directory above the current one is done as follows:
Code:
cd /
The shortcut for the current directory is "". So:
Code:
copy ram:testfile ""
would copy the file testfile from the RAM disk to the current directory

The wildcard for "all files" is #?
Code:
copy ram:#? ""
copies all files from RAM to the current directory. Use the ALL keyword to copy all content in subdirectories as well
Code:
copy ram:#? "" ALL
The command to show all volumes is
Code:
info
There are many other commands. Including delete, dir, format, etc. Note that Amiga OS by itself is case insensitive. So both cd and CD will work.

Also note that you can go directly to a volume or directory by merely typing it's name:
Code:
work:
directory1
directory2

Now you are in work:directory1/directory2
josephgut is offline  
Old 12 August 2020, 17:59   #10
josephgut
Registered User
 
Join Date: Jul 2020
Location: Los Angeles, California, USA
Posts: 42
Thanks for the details. Great and helpful info.

Best,
Joseph

Quote:
Originally Posted by Radertified View Post
Assuming you have a volume named "Work". Let's say it's assigned to DH0.

To CD into that volume:

cd Work:

or

cd DH0:

or

Work:

or

DH0:

To CD into a directory in that volume, it's the same thing but with the directory name appended, such as:

cd Work:directory_name

or

cd DH0:directory_name/

etc.

To list all volumes:

info
josephgut 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
Probably a newbie Question... balric support.WinUAE 1 10 May 2017 19:45
newbie what's this question wasntme support.Hardware 19 16 April 2014 16:30
Question from a Newbie leanderuk support.FS-UAE 2 06 January 2014 20:46
Basic Newbie Q: Kickstart Issue ennio New to Emulation or Amiga scene 7 12 July 2007 08:15
Newbie question Mart support.WinUAE 10 15 December 2006 11:24

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 01:08.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07981 seconds with 15 queries