Re: pass parameters between Delphi app and batch filePosted by Rick Ashford on May 05, 2000: In Reply to: pass parameters between Delphi app and batch file posted by Stefan Loeners on April 29, 2000: This is pretty easy. On your ShellExecute, the first parameter after your call to the batch file, which you currently have set to 'nil', is the parameter area. Just set the 'nil' to 'PChar('Parameter')'. : How to pass parameters from an application to a batch file? : I would like to pass the following parameters to the batch file : PszSrcFile (the folder on which the operation was performed), Operation (delete, move, rename or copy), Rslt (confirmed or attempted, depending on the choice made by user)
|