batch file question

G

Guest

hi there im an absolute beginner with batch files. I've been give a task to
create a batch file that does the following

run an application called X3.sln
the application takes 3 paramters:

(1) the folder where the input files are (C:\Development\DSGI\X3)
(2) the extension of the input files (csv)
(3) the extension for the output files (txt)

After running the app, the batch file has to copy all the output files to
C:\Development\DSGI\X3\Out FROM C:\Development\DSGI\X3 and delete the output
file (.txt) from C:\Development\DSGI\X3

can anybody advise me on how to create a batch file that does all this
Thanks in advance....
 
G

Guest

Hi!!!
This can help you.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
C:\Development\DSGI\X3\X3.sln

copy C:\development\dsgi\x3\out\*.txt C:\development\dsgi\x3

del C:\development\dsgi\x3\out\*.txt /q
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

I don't know if the first line is correctly, because I don't know this
extension .sln...
=]

Please tell me if this run sucessfully.

tkx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top