Hello,
I'm looking for a function to know if a volume exists ?
Thank you
I find function Volume exists
Re: I find function Volume exists
Exists() not only works with files, but also with directories and volumes or devices...
Re: I find function Volume exists
P-OS
not really, if you made Exists ("test:") you have requester for assign "test:"
not really, if you made Exists ("test:") you have requester for assign "test:"
Re: I find function Volume exists
I get a system requester asking to insert the volume, but at least Hollywood program continues and it doesn't make a "Hollywood error".
But yeah, it would be nice to get a "quiet" option to check if a volume is available. For example, the "If" shell command in MorphOS has a "NOREQ" option which suppresses error requesters and allows you to check existance of volumes quietly that way. Maybe a similar option to Hollywood's "Exists" command would be possible?
But yeah, it would be nice to get a "quiet" option to check if a volume is available. For example, the "If" shell command in MorphOS has a "NOREQ" option which suppresses error requesters and allows you to check existance of volumes quietly that way. Maybe a similar option to Hollywood's "Exists" command would be possible?
Re: I find function Volume exists
@JPV
It's exactly that
It's exactly that
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: I find function Volume exists
Code: Select all
- New: Added HaveVolume() command to check if a volume is available
Re: I find function Volume exists
Ok, tried under Win, there it worked...the requester asking is a Amiga typical feature (and in most cases a useful one)