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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:45:43+00:00 2026-05-13T10:45:43+00:00

I have a situation where I have a few cygwin commands which I wish

  • 0

I have a situation where I have a few cygwin commands which I wish to be run in Windows command line e.g.

chmod 777 /home/administrator/*

Currently I have to manually type in cygwin.bat, then enter the above command in cygwin. I was wondering whether it is possible (and if so, how) to have these steps automated in Windows command line?

Ultimately I want all of the above commands to be in MsBuild to achieve full automation if possible.

Thanks.

  • 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-13T10:45:44+00:00Added an answer on May 13, 2026 at 10:45 am

    One way to do this is to launch windows command prompt from a batch file, then, in there, call the shell script which has the command that you want to run.

    batchfile-for-cygwin.bat will contain

    @echo off
    C:\cygwin\bin\bash -li /cygdrive/c/<path-to-shell-script-location>/chmod-cmd.sh
    

    And then, in chmod-cmd.sh you can just have the command.

    chmod 777 /home/administrator/*
    

    With this kind of setup, you can use it in MSBuild too, I should think. I use it in Ant scripts and it works for me.

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

Sidebar

Related Questions

I have a situation where I need to generate a few similar anonymous delegates.
I have situation in which I read a record from a database. And if
I have a situation where I need to integrate a gwt dialog (which to
Situation I have a few single-responsibility Servlets that take a request, do their job,
I have a situation where I have quite a few generated functions, and would
I have a situation where I have to a have a few different sized
I have a situation in which an my Android application is not able to
The situation: I have a class library, called RT.Servers , containing a few resources
I have a situation in C as well as in C++ which can be
I have a situation, wherein I have a few hundred records in a lookup

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.