| 1. |
Solve : command prompt help? |
|
Answer» Hi... Code: [Select]echo.Hello how are you?Yeah but he said he didn't want the user to input anything Thanks for the prompt replies... You are right Carbon Dudeoxide ---> ----- "I want the batch file to interact with CMD Window?----- I think I am starting to get a vague idea of what you want..... So you start a batch file, it will ask 'How Are You?' and you want it to automatically reply and say 'fine'? Lol, is it just me or is anyone else getting confused? Actualy i m implenting a code from java which EXECUTES on command prompt but cmd prompt hangs and waits for an answer.. i want this answer to automatically reach cmd prompt..... any way HW can i do that....Anything you can show us or give an example?jsut an example for what i mean..... In Java : Process p = runtime.exec("cmd /c start xcopy c:\abc.txt c:\bin /m); at cmd prompt: c:\>xcopy c:\abc.txt c:\bin /m Does C:\bin specify a file name or DIRECTORY name on the target (F = file, D = directory)? _ --- here cmd prompt expects an input which I want to come automatically Quote from: MAKT on August 13, 2008, 04:55:11 AM Thanks for the prompt replies... lol, i didnt read it carefully |
|