|
Answer» Hi, can anyone hellp me please.....? I am RUNNING a batch file which inputs a control file(ctl). WITHIN the control file i have to hard code the filename (csv). CNA anyone please let me know how I can GET the contolr file to ask for the filename. ie when I run the batch file it calls the control file and from there I need a prompt to ask for the filename to input.....hope all that makes sense. Thank you.why not pass the control file name to batch from the START by passing it as a parameter on the command line.
batch.bat control.fil
use the "%1" to pass the parameter to your exe file.
|