PDA

View Full Version : path to USB-memorystick?




koswo
Oct 19, 2004, 07:18 AM
Hello,

I have my internet banking parameters stored on an USB-memorystick. The online banking system I use stores a .ini file on the harddisk in which the path to the user parameters is stored. The default value is "/users/<username>/dexia", but since my parameters aren't stored on the harddisk, I'll have to change it with the path of my USB-memorystick. But I don't know how to determine it. In Windows it's for example "f:\data\internetbanking\", but since Mac doesn't work with drive letters...

So my question: what is the path to my USB-memorystick?

Thanks in advance,

koswo



yippy
Oct 19, 2004, 09:04 AM
It is /Volumes/"name of pen drive"/folder/file, or however you have it set up on your drive, you got the picture.

Mechcozmo
Oct 19, 2004, 09:05 AM
I believe that the first USB drive would be \sda1
The first hard drive is \hda1
The second hard drive would be \hda2

Someone else might be able to tell you more...

wrldwzrd89
Oct 19, 2004, 12:30 PM
I believe that the first USB drive would be \sda1
The first hard drive is \hda1
The second hard drive would be \hda2

Someone else might be able to tell you more...
Those are Linux names. Mac OS X puts all disks under /Volumes/(name of disk).

mslifkin
Oct 19, 2004, 02:42 PM
Hello,

I have my internet banking parameters stored on an USB-memorystick. The online banking system I use stores a .ini file on the harddisk in which the path to the user parameters is stored. The default value is "/users/<username>/dexia", but since my parameters aren't stored on the harddisk, I'll have to change it with the path of my USB-memorystick. But I don't know how to determine it. In Windows it's for example "f:\data\internetbanking\", but since Mac doesn't work with drive letters...

So my question: what is the path to my USB-memorystick?

Thanks in advance,

koswo

Hi Koswo,

Just insert the memory stick and open it in the finder. Open a Terminal session and drag a file (any file, doesn't really matter) from the Finder into the Terminal session. You will then see the fully qualified path to that file.

Regards,
Marc