troubleshooting Question

Need to Produce an Executable file that will strip the first two lines from a dat file

Avatar of _Sparky
_SparkyFlag for Ireland asked on
C#Microsoft DOSWindows XP
5 Comments1 Solution234 ViewsLast Modified:
I have accountin software that produces a .dat file for BACS transmission.  We have a new bank (& new BACS type) that can't accept our current file format.

The only issuse with the file is two header lines (the first two lines of the file) need to be removed, it's then transmitted to the bank using standard polling software  - the process is done by the user (based in a different country).

I need to be able to create an executable file (dos batch/compiled exe etc) that will allow
-browse to file (file is usually FTP'd from accounting software server to c:\temp, but that could be variable)
-the .dat filename can also be variable
-Remove the first 2 lines from the file (lines aren't numbered, or unique in any way)
-Save the file with original filename & preserve all other formatting
-The user should not "see" the file content during the process
-& finally open the polling software for bank transmission (again, it's location could be variable, but that should just be a small code change before it's compiled to install on users desktop)

I've searched some the the current solutions for this, but most involve the user either needing (for instance) some kind of dev software & "seeing" whats happening - I need the process to "look" completely automatic.

Can anyone help me get started?

Many thanks,
ASKER CERTIFIED SOLUTION
matrixnz

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros