- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Please help me it's urgent
On Visual Fortran I have to automate routine tasks. I want to do with only one command this :
build toto.exe
execute toto.exe
copy some files from toto project (results of toto.exe) to titi project
build titi.exe
execute titi.exe
I've seen that I can't do that with MACRO (VBScript) but it's seem possible with VIsualBasic or VisualC++.
I see the documentation on line but I don't success now and my problem is urgent.
For example I don't know how can I traduce these tasks in Visual Basic or Visual C++ ?
Is someone know how can I do to write on command doing all these tasks and connect it to Developer Studio ?
thanks for help
On Visual Fortran I have to automate routine tasks. I want to do with only one command this :
build toto.exe
execute toto.exe
copy some files from toto project (results of toto.exe) to titi project
build titi.exe
execute titi.exe
I've seen that I can't do that with MACRO (VBScript) but it's seem possible with VIsualBasic or VisualC++.
I see the documentation on line but I don't success now and my problem is urgent.
For example I don't know how can I traduce these tasks in Visual Basic or Visual C++ ?
Is someone know how can I do to write on command doing all these tasks and connect it to Developer Studio ?
thanks for help
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, if it can be done in VBScript, it certainly can be done in VB...
However, a simpler approach comes out if you type in the command prompt:
So, if you know how to write the macro in VBScript, you can write a batch file which will automate the task.
HTH
Jugoslav
However, a simpler approach comes out if you type in the command prompt:
C:>dfdev /? Usage: MSDEV [myprj.dsp|mywksp.dsw] - load project/workspace ... /EX- execute a VBScript macro ...
So, if you know how to write the macro in VBScript, you can write a batch file which will automate the task.
START /WAIT msdev /EXMyMacroshould execute your macro and wait until completion; the rest should involve just COPY.
HTH
Jugoslav
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page