LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2008, 04:44 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
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?
 
Old 07-29-2008, 05:03 AM   #2
murugesan
Member
 
Registered: May 2003
Location: Bangalore ,Karnataka, India, Asia, Earth, Solar system, milky way galaxy, black hole
Distribution: murugesan openssl
Posts: 181

Rep: Reputation: 29
FYI
http://<br /> http://www.linuxquesti...-491012/<br />
I am not sure about the information mentioned here.
 
Old 07-29-2008, 05:27 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Where is the file? Is it on a file system that could be readonly? What distro do you use that gives a "$>" prompt?
 
Old 07-31-2008, 03:32 AM   #4
murugesan
Member
 
Registered: May 2003
Location: Bangalore ,Karnataka, India, Asia, Earth, Solar system, milky way galaxy, black hole
Distribution: murugesan openssl
Posts: 181

Rep: Reputation: 29
I used the following url:

http://www.linuxquestions.org/questi...d-file-491012/
 
Old 07-31-2008, 03:41 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unix2dos problems renaming converted file smilingdragon Linux - Software 6 12-31-2008 05:35 AM
howto convert .flw (koffice/kivio file) into windows readable type of file? rahmmandel Linux - Desktop 7 01-30-2007 04:12 PM
Howto convert bin file to a executable DOS file lilzz Linux - Newbie 5 08-04-2006 12:03 AM
unable to play wmv + convert verbose Linux - General 3 07-17-2005 03:16 PM
unix2dos not found Big Al Slackware 4 07-19-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration