Saved Bookmarks
| 1. |
Solve : How to give xml file name as input? |
|
Answer» HELLO Folks, Need help to pick right dos command. I have a requirement to create a Batch file 'Y', that runs a batch file 'X' The batch file 'X' has command that calls a program BUILD in java, when batch file 'X' is EXECUTED it ask to input name of a an .XML file. can you please help with command to give .xml file name as input to dos Thanks, Syed Generally the set command is used to prompt for input in a batch file: Code: [Select]SET /P variable=[promptString] Example: Code: [Select]set /p xml=Enter XML file name: The prompt Enter XML file name: will APPEAR on the console and wait for user input. When the user enters a response, the value entered will be available in the %xml% variable. Quote The batch file 'X' has command that calls a program build in java, when batch file 'X' is executed it ask to input name of a an .XML file. This is ambiguous. Does the batch file request the input file name or does the Java program? Good luck. Thanks For the response. Its actually Java Program needs input file |
|