LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unix2dos: Unable to convert file (https://www.linuxquestions.org/questions/linux-software-2/unix2dos-unable-to-convert-file-658958/)

khaos83 07-29-2008 04:44 AM

unix2dos: Unable to convert file
 
Code:

$> unix2dos qc.dos
unix2dos: converting file qc.dos to DOS format ...
unix2dos: can not write to output file
unix2dos: problems converting file qc.dos

I have a file that is somehow generated.
I want to unix2dos it but I'm unable to do it.
Tried chmod 777 too but does not work.

Any ideas?
Are there any characters that should not be inside the file that is stopping the conversion?

murugesan 07-29-2008 05:03 AM

FYI
http://<br /> http://www.linuxquesti...-491012/<br />
I am not sure about the information mentioned here.

billymayday 07-29-2008 05:27 AM

Where is the file? Is it on a file system that could be readonly? What distro do you use that gives a "$>" prompt?

murugesan 07-31-2008 03:32 AM

I used the following url:

http://www.linuxquestions.org/questi...d-file-491012/

billymayday 07-31-2008 03:41 AM

Doesn't really answer my question though.

What happens if you use

unix2dos -o ~/qc.dos qc.dos

Should put the output in your home directory


All times are GMT -5. The time now is 03:23 AM.