home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!uniwa!DIALix!acix!johnv
- From: johnv@acix.DIALix.oz.au (John Verhoeven)
- Newsgroups: comp.lang.rexx
- Subject: Re: Requesters.. How do i get rid of 'em..
- Distribution: world
- Message-ID: <johnv.02iy@acix.DIALix.oz.au>
- References: <jasienrt.03oi@outb.wimsey.bc.ca>
- Date: 9 Sep 92 16:54:18 WST
- Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.
- Lines: 35
-
- In article <jasienrt.03oi@outb.wimsey.bc.ca> jasienrt@outb.wimsey.bc.ca (Jason Sienart) writes:
- >In ARexx.. How can i check if an assign/disk/partion exists. Well what i mean
- >is how can i find out if it exists without a requester poping up. I phone my
- >computer from remotely and hate crashing my BBS with a requester waiting for me to insert hhh: in any drive..
-
- try:
-
- if ~showlist('V','FOO') then /* no colon needed, device name must be in uppercase */
- /* do something */
- end
-
- 'V' shows disk volumes
- 'A' shows assigns
- 'H' shows devices
-
- 1> "say showlist('V')
- RAM_DISK NEWS DEVELOPMENT RECORDS ANIMATIONS RAD_DISK SYSTEM2.0
-
- 1> "say showlist('A')
- ENVARC SYS C S LIBS DEVS FONTS L CLIPS T TMP FD AUTODOCS FORTUNE VLT LINT
- II1 IH2 IH1 UUCP UUMAN DH0 PROWRITE ANL AMIGAVISION TUTORIAL_2 TUTORIAL_1
- SBPRO4 DELUXEPAINTIII DPAINTIV DPAINT QUARTERBACK M2 M2L GCC LOCAL DEV ETC
- LIB USR BIN INSTRUMENTS SCORES ENV CONTACT REXX AUTODOC_PAGES II2 IH3
- DOWNLOADS UUSPOOL UUPUBW UUPUB UUNEWS UUMAIL UULIB GETTY ARCHIVE
-
- 1> "say showlist('H')
- MSH CON PIP IXPIPE NULL AUX SPEAK RAM RAW SER PAR PRT WB_2.X DF0 UNIX_BOOT
- RAD DF2 DH4 DH1 DH2 DH3
-
- --
-
- John Verhoeven johnv@acix.DIALix.oz.au _--_|\
- Treasurer, Amiga Developers (ALT: johnv@DIALix.oz.au) / \
- Association of Western Australia Phone: (+619) 478 1406 *_.--._/
-
-