Sponsored Content
Special Forums IP Networking Need to copy file from Linux to DOS. Post 302465490 by Lakris on Friday 22nd of October 2010 02:41:14 PM
Old 10-22-2010
Oh my good!
Smilie
Ok, first of all I would strongly suggest any other form of transfer than serial. But it depends on how much You want to transfer, in which direction or whether learning about serial communication is the main objective of Your undertaking, rather than just copying some bytes.

And we need to know more. Does Your DOS-machine have floppy, CD, USB, (I assume it doesn't have a network card?), is it very old Smilie, does it have any Windows 3.* on top of it, does it have to keep running DOS5, will You use it as a (serial) terminal to the Linux-machine, have You as of now had any working contact over serial... and so on.

Because this will let us know more about what options are available. Smilie

Best regards,
Lakris
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copy on dos floppy?

can we copy files to a dos floppy on a unix system? how? thanx in advance raju (2 Replies)
Discussion started by: raju
2 Replies

2. UNIX for Dummies Questions & Answers

linux, copy a:\file to /tmp in linux?

hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks (6 Replies)
Discussion started by: yls177
6 Replies

3. UNIX for Dummies Questions & Answers

DOS Debug for linux

Hi guys. I'm in desperate need of a program that can allow me to write files to different sectors of a disk (floppy), in the same way the DOS Debug program can (with a command such as -w 100 0 0 1 to write the bootsector of the disk). Does anyone know any links or names of programs that could... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies

4. UNIX for Dummies Questions & Answers

command for copy file from CD to Linux box

Hi , I have simple question as i am beginner , I have to copy one file from cd(compact disc) to my linux box on some directory. With which command and how can i do that? Thanks sam71 (2 Replies)
Discussion started by: sam70
2 Replies

5. UNIX for Dummies Questions & Answers

Copy files from CDROM to DOS Directory

Hi Everyone, :) Could someone PLEASE tell me how to copy some DOS files from a CDROM to a DOS readable directory in UNIX. I imagine that sounds strange, but that's what I need to do. I am somewhat familiar with... Inserting the CDROM mount /mnt/cdrom ls /mnt/cdrom eject /mnt/cdrom... (3 Replies)
Discussion started by: greystoke
3 Replies

6. UNIX for Dummies Questions & Answers

copy and paste certain many lines of huge file in linux

Dear All, I am working with windoes OS but remote a linux machine. I wonder the way to copy an paste some part of a huge file in linux machine. the contain of file like as follow: ... dump annealling all custom 10 anneal_*.dat id type x y z q timestep 0.02 run 200000 Memory... (2 Replies)
Discussion started by: ariesto
2 Replies

7. Shell Programming and Scripting

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree Double post. Replies here moved to... (0 Replies)
Discussion started by: naree
0 Replies

8. SuSE

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree (1 Reply)
Discussion started by: naree
1 Replies

9. Emergency UNIX and Linux Support

Copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive I don't want to mount. Is there any way we can do it. Regards Naree (34 Replies)
Discussion started by: naree
34 Replies
mattrib(1)						      General Commands Manual							mattrib(1)

NAME
mattrib - mtools utility to change DOS file attribute options SYNOPSIS
mattrib [-a | +a] [-h | +h] [-r | +r] [-s | +s] msdosfile [msdosfiles...] The mattrib command sets (+) or clears (-) the attribute options of a DOS file. OPTIONS
Sets or resets the archive bit. Some backup programs use this option to indicate a new file. Sets or resets the hidden-bit. This option hides files from the DOS DIR command. To view these files, use the mdir command. Sets or resets the read-only bit. This option is used to indicate a read-only file. If this bit is set, a file cannot be removed using the DOS DEL command. To remove the file, use the mdel command. Sets or resets the system bit. This option is used by DOS to indicate an operating system file. DESCRIPTION
The mattrib command sets the attribute options of a DOS file using the plus (+) operator, or clears attribute options using the minus (-) operator. DOS pathnames that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. RESTRICTIONS
The DOS version of the attrib command does not support all of the options listed on this reference page. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mattrib: If set, this variable names the file that contains the name of the current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: mcd(1), mdel(1), mdir(1), mtools(1) mattrib(1)
All times are GMT -4. The time now is 12:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy