Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C batch
Hello,
 
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)
-----------------------
 
Project_Name=mg1g1_perfo
Date=10/01/2013
Version=1.0.0
Source_code_Path=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\source
//#Inputs#//
GEOxFilename=GEOx.csv
GEOxFilepath=c:\Users\UsrAJ\My Documents\Visual Studio 2008\Projects\mg1g1_perfo\input
 

Kindly help ASAP.....
Posted 7-Feb-13 19:24pm
Comments
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?
—SA
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
good
Please Sign up or sign in to vote.

Solution 1

Please see:
http://en.wikipedia.org/wiki/MSBuild[^],
http://msdn.microsoft.com/en-us/library/wea2sca5%28v=vs.90%29.aspx[^],
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].
 
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.
 
—SA
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2014
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