Results 1 to 4 of 4

Using macro to execute a command in Shell Command

Threaded View

  1. #1
    Registered User
    Join Date
    10-14-2010
    Location
    Bonn, Germany
    MS-Off Ver
    Excel 2003
    Posts
    6

    Using macro to execute a command in Shell Command

    Hi All,

    I am trying to execute a command using shell script but I am only able to open files but not execute.

    I tried the following but none of them work code:

    Shell ("cmd /k 'glpsol.exe -m transp.mod'")
    shell ("cmd /c start glpsol.exe -m transp.mod) -- it returns an error stating no file exists

    Can some one help me,
    Last edited by aadarsh; 10-19-2010 at 02:14 PM. Reason: incomplete post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1