LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MTOOLS Mtype Question (https://www.linuxquestions.org/questions/linux-newbie-8/mtools-mtype-question-637395/)

swamprat 04-23-2008 06:59 PM

MTOOLS Mtype Question
 
Hello,

I did manage to download and install MTOOLS.

I'm trying to display the file newfile.txt on the floppy disk which is connected an accessiable.

[root@centos5 ~]# mdir
Volume in drive A is TEST
Volume Serial Number is 480C-0066
Directory for A:/testdir

. <DIR> 2008-04-23 14:29
.. <DIR> 2008-04-23 14:29
NEWFILE TXT 276 2008-04-23 14:49
3 files 276 bytes
1 456 640 bytes free

I'm using the following and getting these messages.

mtype -ts newfile.txt
newfile.txt: No such file or directory

Any help in getting this command to work would be appreciated.

Thanks.

dxqcanada 04-23-2008 07:08 PM

Have you tried:
Code:

$ mtype a:/newfile.txt
I think mtype is saying that it cannot find the file in the working directory.

rkelsen 04-23-2008 07:26 PM

Don't forget about case sensitivity.

Try typing the filename in uppercase.

swamprat 04-23-2008 07:49 PM

Thanks everyone.

None of the suggestions seemed to work.

Still says it can't find the file.

However using the standard way of accessing ... mounting the floppy then using vi or cat I can get to the file.

swamprat 04-23-2008 07:58 PM

Hello again...

And the answer is:

[root@centos5 ~]# mtype -ts a:/testdir/NEWFILE.TXT
This is the first msdos file on this floppy drive.
It is written out from Centos Linux.
And that's all there is to that.
End of file...

Just added to disk file.
End of current message.

Time is: 14:36
Been waiting hours.
Finally got through at 1445 hours.
Thanks New Jersey

Took one of the suggestions, like case senstivity and added the directory to the beginning for the path...see above.

Thank again for the push start.

dxqcanada 04-23-2008 08:03 PM

Hmm, I should have looked closer ... and I would have noticed that the file was in a subdirectory on the disk ... opps.


All times are GMT -5. The time now is 10:32 PM.