Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
82 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 81

kas1e, more...

Headlines

 
  Register To Post  

Filer _ DiskImage = mount iso ?
Home away from home
Home away from home


See User information
It is possible somehow, setup on the .iso files, in the Filer's filetypes menu auto-mounting of isos + auto jump on that new created volume ? I tryed to play with diskimage and just do:

DiskImage icd0: work:Distrib/ArtEffect_v4/arteffect_v4.iso
DiskImage: no disk in drive

or

DiskImage icd0 work:Distrib/ArtEffect_v4/arteffect_v4.iso
Sector size: 512
Start offset: 276381696
End offset: 1367826432
Reading...
Progress: 0.6 %

And iso are die :)

So, all what i want, just press on .iso file in Filer, and have just have mounted it and jump on new volume automatically.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Filer _ DiskImage = mount iso ?
Home away from home
Home away from home


See User information
@kas1e
Go to Filetype prefs, click New. Enter this:
Name: iso
Types: iso
Launcher: MountDiskImage DEVICE ICD0: "{f}"

Click Save and you are done!

Author of the PortablE programming language.
Go to top
Re: Filer _ DiskImage = mount iso ?
Home away from home
Home away from home


See User information
@ChrisH

Yep, but also need edit DefIcons config for make it works, + it's only mount
image. I want also "auto jump on that new mounted volume" in the Filer.
Like i press on iso, and Filer jumps on the new volume. I think about 2 ways:

1. make it as user-button, and there mounting + jumping, like:
c:MountDiskImage DEVICE ICD0: "{f}" ; $CD ICD0:

but as i can see, Filer does not support ";" for making works many commands at one time (but i think that is OS4 does not support that ?). So, that does not works. Then, i just try to make that c:test.bat script, with that:

c:MountDiskImage DEVICE ICD0: "{f}"
$CD ICD0:

and do in user-button command: execute c:test.bat

But i have of course problems with {f} and $CD (what was expected, but still i try).

So can't found solution there.

2. make it as filetype action.

So i try for Launcher here:
c:MountDiskImage DEVICE ICD0: "{f}"; cd ICD0:
it mounts, but not jumps (i.e again ";" not works here).

Then i try again script:
c:MountDiskImage DEVICE ICD0: "{f}"
CD ICD0:
And the same about {f} problem.

Of course i preffer second way with Filetypes anyway (just to make it work by double-click, not mark it, and then pressin user button). Any idea ?:)

In general i think, the solution it's answer on questions:

1. does os4 handle ";" as in unix or have any alternative for (for filetypes)
2. does filer have ";" as in unix or any alternative for (for user buttons)

Maybe it possible somehow via Arexx run many commands at one time ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Filer _ DiskImage = mount iso ?
Home away from home
Home away from home


See User information
@all

For everyone who in interest about solution, for making double-click by mouse on .ISO mount that ISO and opens in that new device, here is solution:

Create script like c:mount_iso.bat with that content:
Quote:

.KEY name

c:MountDiskImage DEVICE ICD0: <name>
appdir:filer icd0:


Then just setup .iso format for FileTypes in Filer/DefIcons andstring for the Launcher filed in Filer#s FileTypes will be:
Quote:

c:execute c:mount_iso.bat {f}


And when you will do double-click on the .ISO, new Filer window will be spawns with the new device as root dir (thanks to the filer, which can works like "filer ram:" ).

Before i trying to setup it for the same lister (like press on .iso in lister, then it auto-mounts, and auto-cd to new parition), but with that way it even better, its already start for you new lister, from which you can copy all what you need from iso).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project