Command Prompt in DOS Window

Is it possibe, when running a Swing Application to
get the command prompt back in order to do other
things in the background while the application is
running. (I wouldn't need to close my application in
order to get the prompt back!)
If so how would I do that?
Thank you very much in advance for any help.

very simple....
create a batch file and then from dos window say
start YourFile.bat
you get your command prompt back...but that will open another prompt window for the applicationm

Similar Messages

  • Is it possible to run a command prompt(or DOS Command) through flash and run a Activex(.OCX) file from flash

    Hi all
        Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug AS 3.0.
       and
    Is it Possible to run a activex (.OCX) file from flash. If it is so please guide me the way to do it
    Thanks and Advance
    Sankar.M.S

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Is it possible to run a command prompt(or DOS Command)  and Activex File(.OCX)

    Hi all
    Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug as 2.0. and is it possible to run a Activex File(.OCX) through flash.
    Thanks and Regards
    Sankar.M.S

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Call x.exe and write command in opened DOS window

    Hi,
    I am using Labview 10 and Window 7. Just wondering how to use labview to
    1. run x.exe under opened DOS window?
    2. write command in opened DOS window?
    Any commends welcome,
    Thanks,
    Ott

    Please take a look here
    Alejandro | Academic Program Engineer | National Instruments

  • Invoke command in new dos window

    is there any way that i can invoke a command in a new dos window from java application?
    such as
    runtime.exec("dir");
    it will open another dos window, and run dir in it.
    thanks

    it will open another dos window, and run dir in it.This works for me (win 2000):
    Runtime.getRuntime().exec("cmd /c start dir");

  • Executing multiple command lines in command prompt (windows)

    Hi,
    I am currrently using the command prompt in the windows to try to send a command to the microcontroller that is connected through TCP connection.
    I am able to use the normal cmd.exe to send the command but am unable to send all the command successfully using labview. 
    The Vi. that I am using the the system exec.vi found in labview connectivity section. 
    Basically what I want to send is "telnet A1" in the cmd.exe to establish connection to the microcontroller, followed by "FOR A1 100 GO" which will be intepreted by the microcontroller to make the necessary motion. But currently, the problem is that I can only establish connection using the system exec.vi but am unable to send the second part of the message "FOR A1 100 GO". 
    My command line i tried typing is cme.exe /K telnet A1 & FOR A1 100 GO. it seems that labview is only able to execute the first command part. Is there any other alternatives? 
    Thanks everyone for your help. 
    Solved!
    Go to Solution.

    Hi,
    Thanks for the help, the picture shows 1 of the error which state Error 56, the error occurs occasionally whenever I have used the command prompt to send a message to the microcontroller.
    Alternatively, there are times when no errors occur but my microcontroller does not move as well. It does move if I were to send the command through the cmd prompt.
    And I have attached a picture of my program as well. I am currently using Labview 2010 32bit. Thanks.
    Jh
    Attachments:
    TCP Connection.jpg ‏170 KB
    Error56.png ‏222 KB
    Picomotor_App New v3.0.vi ‏38 KB

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • How do I tie an Code Interface Node to the dos command prompt or Windows FTP stuff

    I have tried to use the System Exec.vi to do some ftp-ing with a box that If developing an automated ATP for. The sys exe vi dose most of what I need but not all. I can not modify the sys exe vi, nor can I copy the code interface node to another vi,I think that is because it has been compiled. So I need to generate my own vi that call the Windows ftp stuff or command prompt. I have spent several hours searching the NI site and the web in general and have not been able to find what to link the CIN to.
    Can somebody please explain this to me?
    I'm using:
    LabVIEW 8.6.0
    Windows XP Professional with service pack 3
    Thanks
    TeBlues

    Yes this is related to the post of yesterday. I tried your suggestions yesterday and was unable to get any of them to work.
    I down loaded the ftp library form OPENG and was unable to get it to connect to my box under test, and was unable to find any helping documentation on the OPENG site.
    I down loaded the vi from the earlier post you referred to and do to my lack of knowledge of windows was unable to figure out how the incorporate it in to my vi. For example what is the "lpsz Window?
    To complete this project I'm having to go deeper in to the stuff that goes on behind the seen than I have ever need before. So to me it looked like the next steep is to create a vi that used an CIN similar the the sys exe vi but add a few things around it..
    If this is wrong, What do you suggest? Keeping in mind I do not have the internet tool kit and the project dose not want to purchase it if we can avoided it.
    Thanks for your interest and time
    TeBlues

  • Expanding a DOS command prompt window

    My DOS output window gives me the output from the classes that I compile and execute, is there anyway of opening a scrollable DOS window in windows ME so I can see what is actually causing me problems rather than code racing past really fast??

    you can also create your own consol window using a JTextArea and a JScrollPane, so you can scroll through it later:
    public class ConsolWindow extends JFrame {
      public static void init(boolean b) {
        JFrame frame = new JFrame();
        frame.setTitle("Consol Window");
        final JTextArea output = new JTextArea();
        output.setEditable(false);
        frame.getContentPane().add(new JScrollPane(output));
        frame.setBounds(200,200,300,200);
        if (b)
          frame.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
              System.exit(0);
        frame.show();
        // define a PrintStream that sends its bytes to the output text area
        PrintStream consoleStream = new PrintStream(new OutputStream() {
          public void write(int b) {} // never called
          public void write(byte[] b, int off, int len) {
            output.append(new String(b, off, len));
        System.setOut(consoleStream);
        System.setErr(consoleStream);
    }Simply add the following to your main method:
    ConsolWindow.init(false) //true if you want the program to exit when the window closes Good luck

  • How to execute a scenario from Windows command prompt

    Hi,
    I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
    The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
    I am executing following command -
    startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
    The error is -
    A JDK is required to execute Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    DwgJv.main: Exit. Return code:-1
    Please let me know where I am going anything wrong.
    Thanks,
    Himanshu

    Hi,
    you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
    You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on?

  • HT201413 how do i test a port on my windows 7 computer? i followed the steps in this article, but the command prompt said that "telnet" is not a valid command.

    So I havent been able to connect to the iTunes store since June. It's getting a tad annoying. I followed all of the troubleshooting steps that i could find, and I am currently on the last one, which involves making sure that the ports that iTunes needs to function are open on my computer. I followed the article that was telling me how to do this, found my ip address, and was on the step where you actually check the port. I was told to use the command telnet, but when i did, the command prompt told me that " 'telnet' is not recognized as an internal or external command, operable program, or batch file." So, I seem to be stuck. If someone could enlighten me on how to actually check if a port is open, or how to fix error code 11222, please let me know.

    Windows 7 may need telnet installed, as mentioned in http://technet.microsoft.com/en-us/library/cc771275(v=ws.10).aspx
    I think 11222 is actually support.apple.com/kb/TS4123. Is that what you see?
    I'm guessing you have one of the programs listed there and updating it may resolve.
    Tricky bit is some software is bundled with other software - like RealPlayer Plus bundles Speedbit.
    I hope that helps.

  • When I open firefox (note: I got firefox version 28.0 and Karspersky security 2014) I get a black screen, looking like a command prompt window, in firefox.

    Hi,
    When I open firefox (note: I got firefox version 28.0 and Karspersky security 2014) I get a black screen covering the whole firefox window and it looks more lika a big command prompt window, in firefox. What is it?
    Regards
    Jean

    Huh, that's a new one...
    Can you try Firefox in [[Safe Mode | Safe Mode]] to see if the problem goes away. I'm thinking it's an extension.
    *Run ''firefox.exe -safe-mode'' in the search bar on the Start Menu. (Make sure Firefox is closed)
    Have you added any new extensions recently around the time this started happening? Your system details shows the following:
    *Adobe Acrobat - Create PDF 1.2 ([email protected])
    *Anti-Banner 14.0.0.4917 ([email protected])
    *Dangerous Websites Blocker 14.0.0.4917 ([email protected])
    *Kaspersky URL Advisor 14.0.0.4917 ([email protected])
    *Troubleshooter 1.1a ([email protected]) '''This is default so this isn't the problem.'''
    * Virtual Keyboard 14.0.0.4917 ([email protected])

  • Java code to minimize the command prompt window when we hit

    Hi All,
    I am using Command promt to convert frame maker files to pdf files... When I hit the batch file, Command prompt window is coming on to the center of the screen, customer doesnt want this one .
    Is there anyway to minimize the command prompt window like we can show up in the status bar and not on the screen .

    To get better help sooner, post a [_SSCCE_|http://mindprod.com/jgloss/sscce.html] that clearly demonstrates your problem.
    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    db

  • Starting command line exec without dos window...

    I'm trying to start a console window application under my java swing application with the Runtime.exec(cmd) function.
    A dos window appear during the execution of the application. How to remove the screen echo ?
    Thanks
    SEB

    Hi ollie lord and thank you for your suggestion.
    I tried to use a *.bat file instead but the result was the same. I tried to use the word "start" in the command but nothing more.
    My .bat file is simple:
    start myprogram or myprogram
    ...where myprogram.exe is a win32 console application from Visual C++.
    Is there any option in function Main() in C++ to remove the dos console ?
    I head about the JNI tech. Is it a solution ?
    Thanks
    SEB

  • Windows 7 Starter, System Image Failure and Error 0x80070715 results in Command Prompt

    Dear all
    Hi. My laptop CPU is 1.8 GHz, RAM 1 GB, Windows 7 Starter 32-Bit, hard drive: 30 GB for System, antivirus: Microsoft Security Essentials. Creating system image in Windows 7 does not progress in my laptop so I typed regsvr32
    /i swprv.dll in
    administrator command prompt, the result was error: 0x80070715.
     Stop/ Start VSC in Services menu, typing command SFC in adm. Command Prompt, and Clean Boot all were unsuccessful.
    Would you do me a favour about this issue, please?
    Kind regards

    I have the same issue.  
    I am following a Microsoft procedure to re-register DLLs to resolve a VSS error.   At this point, an error occurred. I did:
    > net stop vss
    > net stop swprv
    > regsvr32 ole32.dll
    > regsvr32 vss_ps.dll
    > vssvc /register
    > regsvr32 /I swprv.dll
    Error:
    The module "swprv.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070715.
    For more information about this problem, search online use error code as a search term."
    Windows 7 pro 64-bit.

Maybe you are looking for

  • Speedgrade crashes when I try to open project! Projects won't Direct Link from Premiere either.

    Speedgrade crashing when I try to open a project! Projects won't Direct Link from Premiere either - the menu option is greyed out and I cannot select it. I've installed and uninstalled Speedgrade, all all my Creative Cloud software is up to date. My

  • How can I change the speed of a video clip?

    hi, I'm a new user of iMovie 08. I fail to find the function button that can make a video clip slow down or faster, such as change the speed to 60% of the normal speed,etc. I know iMovie 06 has this function,it's in video FX,duration,speed...but I ca

  • How to get the hour glass in the GUI status bar.

    Hi all, how can I get the hour glass and a corresponding text in the GUI status bar? Like during the compilation I would like to show a message 'Processing data ...'. Best regards, Nils

  • Video goes green in all Windows 8.1 apps

    When  I try to run a vídeo, it displays a green screen inside the player - it can be on IE (modern and desktop) Netflix app, or any app from the Windows Store with a player. When I try to open the same links (in case of browser) on Chrome, the vídeo

  • How To Remove Original Applications

    Hello! I was wondering if its possible to remove the original applications that we've got with the iPhone? Like Weather or Stocks or Notes? Thanks for your help. Vinny.