Link to home
Start Free TrialLog in
Avatar of RjCoats
RjCoatsFlag for United States of America

asked on

Copying text from 32 bit pc to 64 bit pc problem.

Hi.
This is a strange scenario for a question like this.
I have a 32 bit windows XP machine that is running a "dos" program for accounts payable. (we are in the process of replacing).
This computer does not access outside internet.
This program extracts information for checks we have written for a positive pay file. It's a Fixed Format Text file.
I have another "dos" program that uses a database to pull that data in. Then output it back to text in the format our bank needs it in.
Again, Fixed format. Put's it in a shared folder she has access to from another computer.

Then, we have a windows 7 32 bit machine that DOES access the internet, and log on to the bank, and where it says "Browse" we go the shard folder to get the file (ie: \\10.0.0.25\RECON\POSIPAY.TXT).
It then uploads and processes and everything is fine.

Today we swapped the windows 7 machine for a 64 bit windows 10 machine.
Went to do the same thing but when we upload the file, it comes back from the bank as an invalid format.
We re-run the Dos Programs and try again. Same thing.

We fire up the windows 7 machine, and it works perfectly.
This is strictly just an ASCII text file. No funny business. Nothing fancy.

Does a 64 bit Winsows 10 machine look at ASCII Text files different  than a 32 bit ASCII text file?
Do I need to add line feed characters? End of File Character?

Let me know your thoughts. Thanks in advance.
Rj Coats
Avatar of Wayne88
Wayne88
Flag of Canada image

I think it's the 64-bit.  Try running the program in compatibility mode.  

https://www.pcworld.com/article/243718/run_dos_programs_in_windows_7.html

User generated image
Avatar of RjCoats

ASKER

Hi Wayne, the program is actually being run on the windows xp machine and creating a text file.
the windows 64 bit windows 10 PC is merely copying it over ethernet and putting it up on the banks web site.

The 32 bit Windows 7 pc worked just fine.  
So, we have a windows xp running a dos program that creates a text file output.
Windows 7 32 bit PC lets me copy over network, to the web (as a passthru), windows 10 64 bit PC somehow changes that data, or i need more data with it.

But, that does get me thinking.. maybe i need to change the bank site to compatibility mode... hmm!! will try that tomorrow.

Thanks
Rj
ASKER CERTIFIED SOLUTION
Avatar of Scott Silva
Scott Silva
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RjCoats

ASKER

Internet Explorer. Edge did the same thing.  
User isn't ready for edge yet LOL.
May try Chrome or Firefox tomorrow.
Maybe it's a byte order mark (BOM) issue. Perhaps the W7 machine is uploading it as ANSI (no BOM), but the W10 machine is uploading it as one of the UTF encodings, such as UTF-8 (with its BOM). The bank may be able to handle only an ANSI file. That's a pure hip-shot, btw. Regards, Joe
Then I would try the bank website under compatibility mode next...
Avatar of RjCoats

ASKER

Thanks Guys. Scott, yes this is my next effort. Thank you.
You're welcome. Re my previous comment about BOM, one idea is to save the file from both the W7 and W10 systems before uploading and then do a hex comparison on them — are they identical?
Avatar of RjCoats

ASKER

Another Good idea Joe. I will also try that if compatibility dont work. I am waiting for user to create another file. She has to post checks first. Should be soon after lunch Central Time
Sounds good. Will check back after lunch here. :)
Avatar of RjCoats

ASKER

Ok all. Windows 10 Edge, and Windows 10 Internet Explorer did NOT like the upload of the data file apparently.
I used Chrome, and it worked just fine.
My file comparison, i used FC /B file1 file2 and it said they were identical.
So, thanks guys. Maybe there is a setting in explorer or edge that "lets me copy it". Not sure.
Avatar of RjCoats

ASKER

I appreciate everyone.
Thanks again.
You know what they say... As long as it works for you...
Avatar of RjCoats

ASKER

Yes for now. I have a knack for finding the correct reason sooner or later LOL
I fix stuff all the time that I wonder how I did it...   lol