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 8475675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:57:25+00:00 2026-06-10T17:57:25+00:00

i have build script in remote machine.but i want to start the build from

  • 0

i have build script in remote machine.but i want to start the build from my local machine.so for this i need to update the input.properties file in remote machine and then run the batch file to start the build process. For this i have created one web page
i am selecting all the build information upto input property and then i want to modify the patch name and revision number for build in that input properties.After this i want to trigger one batch file(buildstart.bat) to start the build which is in same folder after clicking on Start Build button

so how can i modify the remote input.properties file and run the batch file in C#.
please give me some suggestion for this.
thanks in advance…

  • 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-06-10T17:57:26+00:00Added an answer on June 10, 2026 at 5:57 pm

    You need to edit the properties file remotely, using a Stream Reader / Stream Writer. There are many ways to do that. You should be able to solve that yourself.

    Once you are happy that the properties file is updated correctly you will need to use PSEXEC service to launch the Batch file locally on the User’s machine. So in this case, the batch file needs to be copied over to the remote machine.

    What I normally do is write the Batch file your intending on using to the remote machine on the fly, and as soon as I can see that the associated process has finished, I remove the batch file from the local machine.

    PSEXEC will be ran at your end, you use it to connect up to the end users machine and fire the batch file.

    You can create a process like below :-

           Process p = new Process();
           p.StartInfo.CreateNoWindow = true;
           p.StartInfo.UseShellExecute = false;
           p.StartInfo.FileName = "C:\\psexec.exe";
           p.StartInfo.Arguments = "\\\\" + computerName + " C:\\YourBatFile.bat";
           p.Start();
           p.WaitForExit();
    

    This will open a process on the local machine, that will launch your batch file.

    I would recommend learning about the PSEXEC Service, its how I’ve always launched remote processed.

    Hope this helps.

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

Sidebar

Related Questions

I have a utility build script that gets called from a variety of project-specific
I have an ant build script that needs to pull files down from a
I have a simple jQuery script that I'm trying to build upon but I
I would like to do remote deployment from my build machine onto a server.
I have to copy a db from a remote server to my local dev
For a client I have build a simple script that uploads multiple files(images), resizes
I'm working on a build script with Gradle. We have multiple projects at our
I have a nightly build DOS batch script that invokes devenv.exe to build a
I have a script (python) supposed to build up two paths - one in
I have a custom script step in my build process that zips the executable.

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.