In OSX, i can easily get the names of the drives and partitions using a
folder object (or Folder() in js) with the path
is there an analog in XP?
not quite analog, but you could use f.e’s doshack, and start mountvol xp
utility to get a list of available volumes.
you could execute mountvol|find ":">temp_file.txt, and then load that file
in max and analize it.
temp_file.txt contains these strings:
wich is probaly all you need.
now that i wrote this, i have a feeling there’s something better around
there… Also, I’m not sure if this can list network resources…
hmmm…could work. ugly, but possibly functional :)
thanks for the thoughts…
I’m sure Python does; i guess Java too…
ugly, ugly, not so ugly at all :-)
I know you don’t like Java externals, Peter, but a "VOL n:" request to
my DOSHack external will give you the name of n: (if you can split if
from the end of the string it’s part of !!). Allright, i should write a
"what’s my disk name" function, to automatically do the job…
ugly only in that the suggestion requires writing to a text file, and
then reading that in.
and ugly in making this work with other stuff I have.
and ugly because I pretty much CAN’T use java externals – it’s not that
I don’t like them, specifications keep me from using them :(
C74 RSS Feed | © Copyright Cycling '74