|
Answer» I am not sure if I am going to word this correctly but this is what I am trying to do. I am WRITTING a batch file that will do a few things... create a text file...start a couple programs... but what I need to do is open a Development Shell for a COMPILER I am using and execute a couple commands. I have no PROBLEM getting the Development Shell to open in the process of doing things, but I dont know how to tell it to execute a command. This is the code I have so far:
::Prepare the VxWorks Image Using the VxWorks Development Shell START C:\WindRiver\wrenv.exe -p vxworks-6.5 vxprj create simpc diab testing1234
the Start command works, but the second line "vxprj create simpc diab testing1234" NEEDS to be a command passed to the VxWorks Development Shell (which is exactly like the command prompt in how it works) ... I dont know if I am missing something but right now it seems impossible to accomplish this.
Thank you very much in advance for your help!
PS I am working on a WinXP machine if that helps.Is this something I would need to write a SCRIPT for? If so can anyone direct me to where I can find a tutorial on writing a script that can be executed through a batch file... Thank you everyone again.My guess would have been to pass the parameters on the command line but could find nothing specific. You might try this PDF document.
Page 12 discusses the command line and profiles which may be helpful.
Good luck. when you start a program, then you are out of what a dos batch file can do until the program stops.
If you can't get the program to do what you want with command line parameters then you need something that can write the text inside the program for you like BUFFER 2, KEY-FAKE, KEYPRS or KEYBUF 128 and other programs that filles the keyboard buffer, mentioned at http://www.bookcase.com/library/software/msdos.util.keyboard.html http://short.stop.home.att.net/freesoft/keyb.htm#bufferstuffers I guess you can download some and try which works best
Thank you everyone for your input, tomorrow morning I will try to see what I can get working. Thanks!
|