Click here to Skip to main content
11,811,971 members (54,885 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C batch

I am trying set paths for my C-Fortran project via Batch file & Control File. Can anybody please help me to verify that I am putting correct path syntax in these files. Because I am getting some debug assertion error or some sort of CLR error then it is difficult for me to identify troubles so just wanted to confirm whether the path setting syntax is correct or not! if not, I can suspect something else for causing error.

My project path

c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo

Control File Path Setting (Filename: comcheck.ctrl)

MG1G1-BATCH=c:/Users/UsrAJ/My Documents/Visual Studio 2008/Projects/mg1g1_perfo/input/MGProj.Batch % ascii file has to be specified in batch file

Batch File Path Setting (Filename:MGProj.Batch)

Source_code_Path=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\source
GEOxFilepath=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\input

Kindly help ASAP.....
Posted 7-Feb-13 18:24pm
Sergey Alexandrovich Kryukov at 8-Feb-13 1:43am
This is Windows. You even use Visual Studio. Why not using MSBuild instead of this outdated and ugly approach?
Ajain A K at 8-Feb-13 2:21am
Dear SA,

Thank you very much for the reply.
Unfortunatly I must follow this outdated ugly approch, you please say anyway... what I have written the commands are correct or not? and I dont know about MSBuild
and how to use(some brief details will be helpful)
Richard MacCutchan at 8-Feb-13 6:05am
What exactly is your problem?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see:[^],[^],[^].

If does everything: works with dependencies, performs complete or incremental build based on time stamps, allows to integrate any 3-rd party tools/utilities, in particular, through writing custom tasks using MSBuild interfaces.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 KrunalRohit 354
1 Palash Mondal_ 185
2 CHill60 180
3 OriginalGriff 178
4 Abhinav S 175
0 OriginalGriff 3,888
1 KrunalRohit 2,392
2 CPallini 2,240
3 Maciej Los 2,155
4 ppolymorphe 1,725

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100