Re: Searching for a solution with Batch programming
- From: RivaCom@xxxxxxxxx
- Date: Wed, 27 Feb 2008 05:37:28 -0800 (PST)
On Feb 26, 9:39 pm, "Mr. Arnold" <MR. Arn...@xxxxxxxxxx> wrote:
<Riva...@xxxxxxxxx> wrote in message
news:acd0125b-5118-46b9-a5a7-d0eea19a8c60@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I was tasked with a job to write a batch program to download a excel
file from a FTP and convert it to CSV, getting the file was a 2 second
job. But finding a free program to convert xls 2 csv or txt was a
nightmare. I finally found a standalone app, which i can run from
command line. My problem being after it converts a dialog pops up
saying "Conversion Complete", and I can't figure out how I would go
about exiting the program. The last few lines of commands go:
ftp -s:download.bat
open ftphyperlink
username
password
get test.xls
bye
xls2csv.exe test.xls
exit
Anyone have any suggestions or better solutions? This will be running
on windows server 2003, with no office applications on it.
Are you a programmer? If you are one, then just use a .Net Console
application. I used a client Web service Console application that was on a
NT Scheduler, pull XML transactions from the 3rd party Web service and ended
the Console application when done. It is setting out on a Win 2k3 server.
It's more of a question what am I not? Heh, I am basicly a System/
Network Admin, PC support, and programmer wrapped into one. Our IT
group is very small for a rather large company. I would love to sit
down and hack out some code for this. As far as the rather rude
response for Excel, Excel costs money, and with a very tightly run
company, I could use the money from a office package elsewhere. .Net
might be the best way to go, I figured there was a simple enter
command or exit dialog command I could throw up, solving the problem
quickly, but I guess not. The space didn't work either, thanks for
the suggestion though. I've tried echoing as well with no luck.
.
- References:
- Searching for a solution with Batch programming
- From: RivaCom
- Re: Searching for a solution with Batch programming
- From: Mr. Arnold
- Searching for a solution with Batch programming
- Prev by Date: Re: Memory Management - memory availability after free
- Next by Date: Re: Head scratching in language X superior to language Y
- Previous by thread: Re: Searching for a solution with Batch programming
- Next by thread: Re: Searching for a solution with Batch programming
- Index(es):
Relevant Pages
|
|