Message Boards Message Boards

0
|
4024 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Import Macintosh files using the pathname for the file?

Posted 2 years ago

This is the pathname my Macintosh gives me for a particular file

"Macintosh HD/MoveOver/Cards 1 to 1000"

Yet here's what happens when I use it

data = Import [ "Macintosh HD/MoveOver/Cards 1 to 1000"]

Import::nffil: File not found during Import. >>

$Failed

I must be doing something wrong. I apologize for such a simple question, but I've spent all day on this including a visit to the local Apple store.

POSTED BY: Lewis Robinson
2 Replies
Posted 2 years ago

Somehow the following appeared which makes moving things much easier

You can also insert the path of a folder or a file by simply using drag and drop in combination with a keyboard shortcut. In Mac OS X, first navigate to the file or folder. Click and drag it over a notebook, and then hold down the key when releasing the mouse button:

POSTED BY: Lewis Robinson

Typically on a single disk Mac you just omit the disk name and start with the root level of the drive with / IE:

data = Import [ "/MoveOver/Cards 1 to 1000"]

If you have multiple disks and you need to specify which one, the full path is

data = Import [ "/Volumes/Macintosh HD/MoveOver/Cards 1 to 1000"]
POSTED BY: Jon McLoone
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract