OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: stevoslattery on March 08, 2004, 05:20:42 pm

Title: Accessing the Z
Post by: stevoslattery on March 08, 2004, 05:20:42 pm
Hey all,
I am writing a java program to copy a file I have created on the Z. The text file(hello.txt) is located on the Internal Flash in a folder called txtmessage so I presumed if I executed the file transfere program using the java command... Runtime.getRuntime().exec(\"C:Program FilesSharp Zaurus 2ZaurusDriveZDrive.exe\");
 
and then tried to access the file using the path.. \"D://My Zaurus//Internal Flash//txtmessage//hello.txt\" that this should work!

The copy method I am using works perfectly on normal files on the C drive but when I try an access the hello.txt file on the Zaurus I cant.
Anybody got any suggestions how I can do this??

cheers,
Stephen :wink:
Title: Accessing the Z
Post by: Stubear on March 08, 2004, 07:39:49 pm
Silly Question, but have you mapped the zaurus to the d drive?

If not then your path won\'t exist. you could try //My Zaurus/Internal Flash/txtmessage/hello.txt - if you Z shows up as \"My Zaurus\" in Network Places.
If you have mapped the drive then check the path that explorer shows for the file (probably doesn\'t have the My Zaurus part) so try d:Internal Flashtxtmessagehello.txt instead.

Windows is very picky about paths and tends to drop the machin name when you map drives

Stu
Title: Accessing the Z
Post by: Anonymous on March 09, 2004, 10:23:54 am
Hey Stu,

How do you map the zaurus to the D Drive? im a windows XP user and not an experienced one at that I might add! Any help would be great!
Title: Accessing the Z
Post by: Stubear on March 09, 2004, 07:54:59 pm
From XPs help file (search for Map Network Drive)

To assign a drive letter to a network computer or folder
Open My Computer.
On the Tools menu, click Map Network Drive.
In Drive, select a drive letter.
In Folder, type the server and share name of the computer or folder you want.
Example:

servernamesharename.

-or-

Click Browse to find the computer or folder.