A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

"Bad file or number"



 
 
Thread Tools Display Modes
  #1  
Old January 23rd 14, 08:36 PM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 76
Default "Bad file or number"

I suspect somehow this file was not properly terminated (eg ctl-z).
it is 5.5 GB and I'm trying to load it into Access. It responds too quickly
to have tried to read the file and found out it was too big.

I am thinking someway to copy binary and add a ^Z file?

It's been 2 decades since i did something like this and I suspect
whatever worked then won't work with 5.5 GB



- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]




  #2  
Old January 23rd 14, 09:50 PM posted to microsoft.public.windowsxp.help_and_support
David H. Lipman
external usenet poster
 
Posts: 4,185
Default "Bad file or number"

From:

I suspect somehow this file was not properly terminated (eg ctl-z).
it is 5.5 GB and I'm trying to load it into Access. It responds too
quickly
to have tried to read the file and found out it was too big.

I am thinking someway to copy binary and add a ^Z file?

It's been 2 decades since i did something like this and I suspect
whatever worked then won't work with 5.5 GB


32bit MS Access or 64bit MS Access ?


--
Dave
Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk
http://www.pctipp.ch/downloads/dl/35905.asp

  #4  
Old January 24th 14, 07:56 AM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 76
Default "Bad file or number"

*+-
*+- It's been 2 decades since i did something like this and I suspect
*+- whatever worked then won't work with 5.5 GB


*+-I seriously doubt you were working with 5.5GB files 20 years ago

Isn't it obvious from the way I said it?


- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]




  #5  
Old January 24th 14, 10:03 AM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default "Bad file or number"

*+-I seriously doubt you were working with 5.5GB files 20 years ago

Isn't it obvious from the way I said it?


Not really.

If its a file from 20 years back (one possible way to read your statement) I
also doubt it. 20 years back (1994, a pre Windows time) even big *drives*
where measured in MB, not GB. And you would have had a quite special
program to work with filesizes at least three times the processors
address-bus width. Heck, even recently (on Fat32) filesizes where limited
to 2 GB.

Taking the other way to read it and assume you just now created/got a
datafile of 5.5 GB you can't read, what makes you think its the ctrl-Z thats
doing it ? It might very well be the (old) program itself not being able
to coope with a file over 2 GB in size ...

I am thinking someway to copy binary and add a ^Z file?


Type "copy /?" for full info. Create a file with a ctrl-Z (type ALT 26 if
I'm not mistaken) in it and use the "/b" option to "+" the files together
(to a new one) :

copy /b Srcfile1 /b Srcfile2 Trgfile

Hope that helps.

Regards,
Rudy Wieser


-- Origional message:
schreef in berichtnieuws
...
*+-
*+- It's been 2 decades since i did something like this and I suspect
*+- whatever worked then won't work with 5.5 GB


*+-I seriously doubt you were working with 5.5GB files 20 years ago

Isn't it obvious from the way I said it?


- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus,

BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime

Bimbos]






  #7  
Old January 25th 14, 02:18 AM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 76
Default "Bad file or number"

Sure. (forgive noisy line)

2GB is mdb (out) limit not csv (in) limit

me hopes
but the bad file error comes
up too fast

ok.. gotta log off-- noise is driving me bats

- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]




  #9  
Old January 27th 14, 12:58 AM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 76
Default "Bad file or number"

Someone in the NT batch newsgroup suggestes:

copy x.csv+nul /a

for which I am most gratefule

- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]




  #10  
Old January 27th 14, 09:29 AM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default "Bad file or number"

vjp2,

Someone in the NT batch newsgroup suggestes:

copy x.csv+nul /a

for which I am most gratefule


Nice, appending an "empty file" and depending on the "/a" switch to have the
copy command append a ctrl-z.

One drawback though : If, for whatever reason whatsoever, the CSV contains a
ctrl-z somewhere in the middle you will throw the remainder of the file
away. In other words: check the size of the result. If it apears to be
shorter than the origional something has gone wrong ...

But now the important question: Did adding that ctrl-z actually solve the
problem ? You did not mention anything about it.

Regards,
Rudy Wieser


-- Origional message:
schreef in berichtnieuws
...
Someone in the NT batch newsgroup suggestes:

copy x.csv+nul /a

for which I am most gratefule

- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus,

BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime

Bimbos]






  #11  
Old February 9th 14, 11:01 PM posted to microsoft.public.windowsxp.help_and_support
No_Name
external usenet poster
 
Posts: 76
Default "Bad file or number"

*+-One drawback though : If, for whatever reason whatsoever, the CSV contains a
*+-ctrl-z somewhere in the middle you will throw the remainder of the file

I'm up to my waist in alligators..
but I did another looksee and saw the disk I thought damaged
was the same size and some unzip programs think the file is corrupt and won't
open it and others will only give me half the file.

One other clue, GNU tail won't work, but on the full-sized file, grep finds
everything.


Which unzipper do you prefer? (the XP one is from 2008)


- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus, BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime Bimbos]




  #12  
Old February 10th 14, 09:24 AM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default "Bad file or number"

vjp2,

and saw the disk I thought damaged was the same size and
some unzip programs think the file is corrupt and won't open
it and others will only give me half the file.


Jup, sounds like a damaged disk / zipfile, and which than resulted in a
partial extraction of the datafile itself. And I must say I'm surprised
that you did get anything at all.

Which unzipper do you prefer? (the XP one is from 2008)


I do not have a preference, I just use whatever works. I can choose outof
several versions (most of them console based), and if needed even try some
generic product like WinRar, WinZip and alike.

But, when its really the disk (and thereby the zipfile) itself that is
damaged than you have little chance to repair it. Disk damage most always
goes in multiples of 512 bytes (one sectors worth of data), and thats a bit
much for a CRC (or alike) to fix ....

Regards,
Rudy Wieser


-- Origional message:
schreef in berichtnieuws
...
*+-One drawback though : If, for whatever reason whatsoever, the CSV

contains a
*+-ctrl-z somewhere in the middle you will throw the remainder of the file

I'm up to my waist in alligators..
but I did another looksee and saw the disk I thought damaged
was the same size and some unzip programs think the file is corrupt and

won't
open it and others will only give me half the file.

One other clue, GNU tail won't work, but on the full-sized file, grep

finds
everything.


Which unzipper do you prefer? (the XP one is from 2008)


- = -
Vasos Panagiotopoulos, Columbia'81+, Reagan, Mozart, Pindus,

BioStrategist
http://www.panix.com/~vjp2/vasos.htm
---{Nothing herein constitutes advice. Everything fully disclaimed.}---
[Homeland Security means private firearms not lazy obstructive guards]
[Urb sprawl confounds terror] [Phooey on GUI: Windows for subprime

Bimbos]






  #13  
Old April 7th 15, 06:40 PM posted to microsoft.public.windowsxp.help_and_support
auntie spam
external usenet poster
 
Posts: 1
Default "Bad file or number"

a
 




Thread Tools
Display Modes

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

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






All times are GMT +1. The time now is 01:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.