Re: Problem reading data from a file (encounter EOF after second last record)
- From: dpb <none@xxxxxxx>
- Date: Tue, 29 Jan 2008 14:48:30 -0600
Richard Maine wrote:
....
You mentioned doing it with notepad. There might be a scriptable
command-line way to do it less manually. I know it would be easy enough
in Unix. There's probably a simillar way in Windows, but I'm not so
fluent in Windows stuff like that.
Hmmm...otomh can't think of an easy way to get a control character at
the command line in a standard MS shell. In the JPSoftware shells
there's an char[] function so something like (untested)
echo %@char[13] >> file.dat
should work. Lacking that, creating a file w/ just the CR in it
copy file.dat+crfile.txt
would suffice I think in a MS shell.
All in all, much better to fix the problem at the source, I agree.
--
.
Relevant Pages
- Re: add shortcut to startup menu
... If you want that your application is started before the Windows ce ... shell and you don't need to pass it command-line arguments, ... > shell and you don't need to pass it command-line arguments, ... > If you need to add a shortcut to the startup folder. ... (microsoft.public.windowsce.platbuilder) - Re: printf from application not displayed in target control
... application, not a command-line one, especially for Windows Mobile. ... Windows Mobile for that, but, no, generally not. ... see this displayed in the shell. ... (microsoft.public.windowsce.platbuilder) - Re: "Recent Documents" a la Win32 for the shell?
... > One thing I think is really nifty about MS Windows is the "Recent ... > of a command-line based tool or shell script approximating this ... (comp.unix.shell) - My recent Epiphany about operating systems
... In Winblow$, the release & bundling of IE was purposely as crippleware, virus, & bug delivery system 2 trap people into constantly 'upgrading'. ... A simple comparisson of Windows 95 side-by-side with the final Windows ME & various IE 'upgrades' illustrates how the supposedly 'new & improved' stuff is actually about 1/5 the speed, ... The OS Kernels are designed to require constant patching or nothing runs properly when 'upgrading' softwares. ... Just like M$ writes Windoze 2 B full of bugs, so they can keep selling the same crap over & over "oh but we fixed it this time" - yeah right:)) I am still using the shell from Windows95. ... (freebsd-questions) - Re: My recent Epiphany about operating systems
... In Winblow$, the release & bundling of IE was purposely as crippleware, ... & bug delivery system 2 trap people into constantly 'upgrading'. ... simple comparisson of Windows 95 side-by-side with the final Windows ME & ... AND fast shell that Microsoft has released. ... (freebsd-questions) |
|