Re: pass parameters between Delphi app and batch file
Posted by Rick Ashford on May 05, 2000 at 00:41:21:
In Reply to: pass parameters between Delphi app and batch file posted by Stefan Loeners on April 29, 2000 at 20:38:10:
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)