|
Register or have you forgotten your password?
|
|
|
| Amiga Tutorials In this forum, you'll find tutorials for AmigaOS and other forward-looking products. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Cult Member
![]()
|
Hi,
Is it possible to list all volumes such as RAM: DH0: DH1: etc? I would like to use this together with the list command so that I can call a particular script for every volume. Regards, Sim085 |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Lifetime Member
Join Date: Feb 2002
Location: Wales, UK
Posts: 3,584
|
assign > ram:volumes.txt
would give you all the assigns not just volumes maybe you could do mount > ram:volumes.txt not 100% sure if you can use mount like this though
__________________
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw Xbox Live: S0ulA55a551n2 Registered MorphsOS 2.7 user |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Defender of the Faith
![]()
|
__________________
-- kolla |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Cult Member
![]()
|
Those commands work fine for me as well. However I was hoping I could use them like the list command - that is building a script on the fly so that I can do the following for each of the volumes
Code:
execute myScript DH0: execute myScript DH1: etc... Code:
list >T: System: all dirs p=#? lformat="execute myScript %p%m" |
||||||||
|
|
|
|
|
#5 | ||||||||
|
Lifetime Member
Join Date: Feb 2002
Location: Wales, UK
Posts: 3,584
|
cant you just replace the list with info ?
__________________
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw Xbox Live: S0ulA55a551n2 Registered MorphsOS 2.7 user |
||||||||
|
|
|
|
|
#7 | |||||||||
|
Cult Member
![]()
Join Date: Jul 2006
Posts: 952
|
Quote:
lists the mounted volumes. Ed: enter "assign ?" into a shell to see what else it can do.
__________________
|
|||||||||
|
|
|
|
|
#8 | ||||||||
|
Cult Member
![]()
|
Using the assign ? I can see that this does not take the lformat parameter!! So does this mean it is impossible to write a script containing all the volumes with extra text??
|
||||||||
|
|
|
|
|
#9 | |||||||||
|
Cult Member
![]()
Join Date: Jul 2006
Posts: 952
|
Quote:
__________________
|
|||||||||
|
|
|
|
|
#10 | ||||||||
|
Cult Member
![]()
|
Hi again, I tried reading Using the AMIGA Workbench but did not find anything usefull to help me achieve this! I cannot understand how I can extract the volume information from the info command. The only way would be to have some sort of parser but did not find any either. Any suggestions?
|
||||||||
|
|
|
|
|
#11 | ||||||||
|
Cult Member
![]()
|
Please - any help on this? I am also searching in the other scripts in S: to see if I can find anything that might help me out - however so far I had no luck
![]() Or maybe this is not possible through scripting only!? |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| volumes , list |
| Thread Tools | |
| Display Modes | |
|
|