Announcement

Collapse
No announcement yet.

right click compiler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    right click compiler



    Hi All,

    A while back, someone posted the following code to right-click compile .mv
    files

    "C:path_tocompilerBINmvc.exe" -C %1

    THANKS! It has been a great help and saved me loads of time.

    Once in a while, I fat finger the code (I know it is hard to relate, but
    hang with me here). ;-)

    As the right click opens DOS windows to compile, if there is an error in the
    source file, no compiled file is created. I am glad for this. No need for
    two files with errors.

    Is there a way to force the DOS window to remain opened when there is an
    error and the file is not compiled?

    As it is now, the window closes along with all the successful files and
    unless you go back and look at file dates, it is easy to miss that one has
    not compiled.

    This is not a big issue when there are just a few files being compiled. I
    tend, however, to compile several dozen files at a time and have found that
    the only way to effectively do this is to move the files to a new directory,
    compile, then sort the directory, looking for .mv files with no
    corresponding .mvc files, then moving everything back. Again, not a huge
    task, but a time thief when deadlines loom.

    TIA for any suggestions.

    Kevin White
    National Healthcare Innovations
    www.nationalhi.com




    #2
    right click compiler



    Here is the contents of a batch file I use:

    mvc %1
    pause

    I don't include the full path to the compiler as I already have it in my windows path.


    > Hi All,
    >
    > A while back, someone posted the following code to right-click compile .mv
    > files
    >
    > "C:path_tocompilerBINmvc.exe" -C %1
    >
    > THANKS! It has been a great help and saved me loads of time.
    >
    > Once in a while, I fat finger the code (I know it is hard to relate, but
    > hang with me here). ;-)
    >
    > As the right click opens DOS windows to compile, if there is an error in the
    > source file, no compiled file is created. I am glad for this. No need for
    > two files with errors.
    >
    > Is there a way to force the DOS window to remain opened when there is an
    > error and the file is not compiled?
    >
    > As it is now, the window closes along with all the successful files and
    > unless you go back and look at file dates, it is easy to miss that one has
    > not compiled.
    >
    > This is not a big issue when there are just a few files being compiled. I
    > tend, however, to compile several dozen files at a time and have found that
    > the only way to effectively do this is to move the files to a new directory,
    > compile, then sort the directory, looking for .mv files with no
    > corresponding .mvc files, then moving everything back. Again, not a huge
    > task, but a time thief when deadlines loom.
    >
    > TIA for any suggestions.
    >
    > Kevin White
    > National Healthcare Innovations
    > www.nationalhi.com
    >
    >
    >

    Comment

    Working...
    X