04 July 2022, 17:26
|
#6
|
Banned
Join Date: Feb 2022
Location: Anywhere and everywhere I have a contract
Posts: 822
|
Quote:
Originally Posted by indigolemon
Not all my own work, based on code someone else wrote that I've used myself to check if a volume exists:
Code:
assign >NIL: AmigaOS: exists
if not warn
echo "AmigaOS: exists"
else
echo "AmigaOS: unavailable"
endif
A working example for your use case should be:
Code:
assign >NIL: OS39: exists
if warn
Assign OS39: OS39-BUP: >NIL:
endif
|
Thanks!
|
|
|