Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6675855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:54:45+00:00 2026-05-26T03:54:45+00:00

In Codegear RAD Studio 2007, I’m trying to do some file deletion and copying

  • 0

In Codegear RAD Studio 2007, I’m trying to do some file deletion and copying during the pre-build and post-build events that involve folders named after the current configuration. In Visual Studio, this is easily done with the $(ConfigurationName) macro.

Is there any equivalent to this in RAD Studio? If not, is there a workaround I can use?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:54:45+00:00Added an answer on May 26, 2026 at 3:54 am

    I think what you’re looking for $(Config). For example, in a prebuild event, you can add echo $(Config) and it will print a string like “Debug” or “Debug Build”. I’ve tested it in Rad Studio 2010, but not in 2007. I believe they use the same configuration variable, though.

    If that doesn’t work, open a cbproj file in an editor and look for something like this:

    <Config Condition="'$(Config)'==''">Debug</Config>
    

    Whatever word appears instead of ‘Config’ there may give you a clue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using Codegear RAD Studio 2007. One of my company clients' decided
I'm working on some code using decltype in CodeGear RAD Studio. I've tried the
I'm using CodeGear RAD Studio 2009. I want to use the Mutis text search
Are 'redundant include guards' necessary in Codegear RAD Studio 2009? Is the compiler smart
Is there anything equivalent to #pragma once for Codegear RAD Studio 2009? I am
I've just installed CodeGear Studio 2009 and I didn`t find where I can put
I'm looking at upgrading the Borland/Codegear/Embarcadero C++ builder suite we use for some of
One of the vagaries of my development system (Codegear C++Builder) is that some of
Our development team work with Borland C++ Builder 6 and CodeGear C++ Builder 2007
This code compiles in CodeGear 2009 and Visual Studio 2010 but not gcc. Why?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.