Operating System - HP-UX
1833829 Members
1950 Online
110063 Solutions
New Discussion

How can I get a file off Unix and read it on NT or Win95/98

 
Greg_3
Occasional Contributor

How can I get a file off Unix and read it on NT or Win95/98

Hello
I wonder if anyone could help me. I am trying to copy a file onto a floppy from a standalone Unix workstation. I would like to know how I can get to read this on an NT PC?
6 REPLIES 6
Andreas Voss
Honored Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

Hi,

what copy command have you used (tar) ?
Best way (at HP-UX) is to use doscp (see man doscp)
Usage: doscp /dev/floppy/c0t1d0:
(check your device file)
Before using doscp you have to format the disk on a dos/windows system because there is no command for formatting dos diskettes at HP-UX.

Regards
Greg_3
Occasional Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

Yes I did use tar.
I will try what u have suggested thanks
James R. Ferguson
Acclaimed Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

Hi:

BTW, you may also need/want to convert the file format before you copy it.

# dos2ux myfile > myfile.dos

...JRF...
Rick Garland
Honored Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

Convert the file using dos2un then you can copy to floopy. One method is to mount the floppy, copy the file to the mounted floppy FS, umount the floppy, then read on the NT.
Victor BERRIDGE
Honored Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

I think James and Rick meant ux2dos ...
since you want to write from your hpux to be read by NT
James R. Ferguson
Acclaimed Contributor

Re: How can I get a file off Unix and read it on NT or Win95/98

Hi:

Yes, Victor, thanks for the catch. I DID mean "ux2dos", but can't seem to keep the fingers synchronized with the brain (or maybe vice versa?) :-))

Regards, Jim.

...JRF...