Using shell command with Cygwin


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Using shell command with Cygwin

  1. #1
    Join Date
    Sep 2005
    Posts
    11

    Using shell command with Cygwin

    I don't know if this is a good question for VB forum - or should be directed to the Cynergy folks. I'm attempting to write a VB application that calls a Cynergy Unix shell. The output of the Unix shell will be written back to my C:\ drive, but I'm not sure how to pass parameters or arguments from the shell call.

    Does anyone know if this can be accomplished?

    Thanks,
    kgkidd

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    if you use the Shell function, pass the parameters in it, like

    Shell "NameOfTheApplication /param1 /param2", vbhide (or whatever)

    Marco
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

Similar Threads

  1. Trouble using CALL SHELL()
    By kevin3306 in forum VB Classic
    Replies: 4
    Last Post: 09-15-2005, 06:32 PM
  2. Shell Program
    By none_none in forum C++
    Replies: 13
    Last Post: 04-19-2005, 05:20 PM
  3. Shell and Wait Converted to VB.Net - November 2002 Tip of the Month
    By Larry Rebich in forum dotnet.announcements
    Replies: 0
    Last Post: 10-15-2002, 01:20 PM
  4. Shell Hook without Shell?
    By Juergen Thuemmler in forum VB Classic
    Replies: 2
    Last Post: 06-22-2000, 10:31 AM
  5. Shell Hook without Shell?
    By Juergen Thuemmler in forum VB Classic
    Replies: 0
    Last Post: 06-22-2000, 04:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center