[Batch File] Execute program without actually opening up command prompt?
Discuss [Batch File] Execute program without actually opening up command prompt? in the Programming forum on Dev Hardware. [Batch File] Execute program without actually opening up command prompt? Programming forum discussing administration and coding scripts in languages including PHP, C++, C, Perl, Java, Visual Basic, XML, HTML, CGI, ActionScript, CSS, JavaScript, Fortran, BASH, and issues related to databases and even batch files.
Posts: 1
Time spent in forums: 10 m 10 sec
Reputation Power: 0
[Batch File] Execute program without actually opening up command prompt?
I am a newbie to batch files I guess, but somewhat knowledgeable about Unix shell scripting. I used to make executable shell scripts in bash a lot to do simple commands exactly the way I wanted, but of course, they would not actually open a terminal unless I told them to. It was a good way to run a program a certain way easily. Is there any way to do this on Windows? I want a file I can click on and it will open one program and then open another. But I just want the programs to open, not the command prompt to pop up as well. Is there any way to do this?
This is what I wish to do (it has been placed in the correct relative directory):
Posts: 259
Time spent in forums: 6 Days 19 h 49 m 45 sec
Reputation Power: 122
Quote:
Originally Posted by violagirl23
I am a newbie to batch files I guess, but somewhat knowledgeable about Unix shell scripting. I used to make executable shell scripts in bash a lot to do simple commands exactly the way I wanted, but of course, they would not actually open a terminal unless I told them to. It was a good way to run a program a certain way easily. Is there any way to do this on Windows? I want a file I can click on and it will open one program and then open another. But I just want the programs to open, not the command prompt to pop up as well. Is there any way to do this?
This is what I wish to do (it has been placed in the correct relative directory):
Right now it runs, but it also pops up the command prompt, which is the part I do not want. How could I accomplish this?
Try this:
Code:
@echo off
Xming\Xming.exe :0 -clipboard -multiwindow
PuTTYPortable\PuTTYPortable.exe