Hi all, i really need a help for run my executeable program and add a file as a paramater to the executeable program. i want to run my executeable program by shell script.
i have space.exe program and want to run it with gr1.adl file as a parameter to that space.exe program.
Is there anybody help me with the shell script?
I run with windows 7 but have instaled cwgyin instaled in my OS.
E:\SEMESTER 6\TA_2\space\source.alt\source.orig>./space.exe
'.' is not recognized as an internal or external command,
operable program or batch file.
E:\SEMESTER 6\TA_2\space\source.alt\source.orig>
Firstly it looks like you are at a windows command prompt. You want to be at the cygwin terminal prompt. Look under start menu for "Cygwin Terminal" shortcut this should be Start->Cygwin->Cygwin Terminal by default.
You should then cd to your space working dirctory and run space.exe like this:
[westlyarfan@YOURPC ~] cd "/cygdrive/e/SEMESTER 6/TA_2/space/source.alt/source.orig"
[westlyarfan@YOURPC source.orig] ./space.exe gr1.adl