How do I keep the command window open?

I want to write a batch file that will leave the window open after running so I can see what the output is.
I kind of remember having to use %k
But I'm not sure exactly how to do it.
UPDATE: I found what I was looking for, it's /k when you execute the command file.
If anyone has any additional comments about scripting and keeping the command window open, please comment.

Add "pause" to the end of the batch.
¯\_(ツ)_/¯

Similar Messages

  • How do I keep the source document open when linking to a target document using the destination option in Adobe X?

    How do I keep the source document open when linking to a target document using the destination option in Adobe X? Have several links to create in the source document and want to keep the source document and target document open at the same time.

    Go to Edit - Preferences - Documents and un-tick "Open cross-document links
    in the same window".

  • How can I keep the browser window stretched across my two displays?

    I run am trying to run dual monitor setup and have the Firefox browser span the two monitors. Whenever a Firefox dialog opens, such as Preferences or Print, the window zooms to fit the one primary monitor. How can I keep the browser window stretched across my two displays?

    Thanks very much for your response to my question -very helpful.
    Do you have any recommendations for a good book on Edge Animate?
    Thanks,
    Shaun
    Date: Thu, 25 Oct 2012 17:10:43 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I change the browser window background color when playing an Edge animation?
        Re: How can I change the browser window background color when playing an Edge animation?
        created by heathrowe in Edge Animate - View the full discussion
    ADD this to compositionReady handler, change the hex color code to your desired color //Force body of webpage to a specific color$("body").css("background-color","#5d5e61"); Darrell
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4801409#4801409
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4801409#4801409
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4801409#4801409. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Edge Animate by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How can I keep the bookmarks toolbar open down the side?

    How can I keep the bookmarks toolbar open down the side?

    View > Sidebar, click Bookmarks to place a check mark ~~red:'''''OR'''''~~ Ctrl+B
    If the Bookmarks Sidebar is open when you Exit Firefox (File > Exit), it will be open when you start Firefox again.

  • How can i keep the indesign window to stay a certain size?

    How can i keep the indesign window to stay a certain size? After writing files the Indesign window defaults to original size and I need it to stay a certain size. Can anyone help?
    Thank you
    Ray Jimenez

    Hi, the only possibility I can see is making multiple copies of...
    /System/Library/Components/KeyboardViewer.component/Contents/SharedSupport/Keybo ardViewerServer.app
    And running one in each Space.

  • How do I keep the find bar open when scrolling through multiple tabs?

    The newest update of Firefox doesn't allow me to keep the find bar open when shifting through multiple tabs. I've tried Findbar tweak however that erases the search criteria as soon as I try to scroll down the page to the next location. Anyone know how to keep the find bar open when i shift from one tab to the next?

    There is a more up-to-date "beta" version of FindBar Tweak you could try, if you haven't tested it already. You can find it on the extension's "Versions" page here:
    https://addons.mozilla.org/firefox/addon/findbar-tweak/versions/
    I did see one other extension with a similar purpose (I haven't tried it myself):
    https://addons.mozilla.org/firefox/addon/globalfindbar/

  • How do I keep the Character panel open and why are my font examples fuzzy?

    Hello,
    I am unable to keep the character panel open while editing text.  The options will not open in the top tool bar next to  color and stroke.  The link to the character panel is in the top bar, however, I must click it each time to open.  Problem 2, is that even after opening the character panel and opening the drop down box, the 2nd column of text, the column that shows the font examples, is blurry. I've been dealing with this for some time, but had a little extra time today to ask for help.
    I am using a PC and using Illustrator in Creative Cloud 2014.1.1 Release, 18.1.1(64-bit).
    Julie

    Hello,
    Thank you for the reply. When I do Window > Type > Character still the palette opens up and I want it to actually be in the bar at the top. I  just opened an ai document from one of their tutorials and the characters are now open on top.  The dropdown is still wonky.
    The left side is very sharp, the right side is fuzzy.

  • How can I keep the download window plus a status bar in the bottom side of my navigator?

    I downloaded firefox 4 today and the first thing I noticed is that my status bar for downloads at the bottom side of my navigator it's gone! so I downloaded a plugin called "statusbar" and I don't like it at all... it is nothing like my old status bar and it takes away my big download window (the one that you can see even if you minimize the navigator); how can I make it back??
    I like to have both things (the big window and the status bar) and I can't make it back using the options of the plugin.
    Besides that, if I have the new statusbar it doesn't advice me when the download ends (that note that pops up when it's over saying "download finished" really useful when you're watching a video on fullscreen) and I can't change that either from the plugin options!
    I know that not every plugin are made by firefox so if you can't help me please let me know anyway so I can go back to the latest firefox version to have my big downoloads window plus the statusbar at the bottom and the note all at a time!
    THANK YOU!!
    =)

    Hi piepkorg-
    Does your Add-ons manager show the weather toolbar as being installed? I would recommend starting with this article- particularly the sections on managing Add-ons and troubleshooting:
    [[Using plugins with Firefox]]
    Hope that helps!

  • How do you make the IE window open after you create the url link

    can someone help me asap!!!

    On the Mac, 'maximize' (the green button in the title bar) is +context sensitive+ - it expands the window based on the content of the window. If the content is not screen-filling, the window won't get any bigger than necessary. There's no 'global' solution to this for OS X, but for Safari in particular, the Saft plugin has an option for full-screen browsing.
    http://pimpmysafari.com/plugins/saft

  • HT1338 when im on a website and I click a link, my original website closes.  How can I keep the original website open?

    When Im on a website and click a link, my original website closes and I can not return to it.  I would appriciate some assistance. Thank You.

    http://reviews.cnet.com/8301-13727_7-57520296-263/tips-on-opening-links-and-sear ches-in-safari/
    Best.

  • How do you keep the same URL connection connected continuously?

    I am trying to extract information from a web page, but it puts a cust_id in the middle of the URL. It generates the cust_id randomly everytime you use the site. I connect to the initial URL to find the cust_id, I substring that to the new URL and then make a new connection to extract the information, but the web page gives me an error saying that it doesn't recognise the cust_id. As if it was a new connection with the wrong cust_id.
    How can I keep the first connection open and with the same cust_id information and then jump to another web page but using the initial connection. Using IE6 I can just cut and paste the second URL and get to the page, but with my java application it doesn?t work. Please have a look at my code and let me know if I am doing anything wrong.
    URL inputURL;
         String inputLine;
         URLConnection connection;
         String page = "";
         int x;
         String cust_id1 = "";
         String cust_id2 = "";
         String site;
         File outputFile = new File("web.txt");
         FileWriter out = new FileWriter(outputFile);
       try
         inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
         connection = inputURL.openConnection();
         BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         while ((inputLine = inputStream.readLine()) != null)
              page = page + inputLine;
              System.out.println(inputLine);
              x = inputLine.indexOf("cust_id=");
              if (x != -1)
              cust_id1 = inputLine.substring(x, x + 14);
              PrintWriter file = new PrintWriter(new FileOutputStream("web.txt"));
              out.write(page);
              out.close();
              System.out.println("1st time successful");
              System.out.println(cust_id1);
              //inputStream.close();
              //extracted the customer id, now able to search for the product
              //test for milk
         site = "http://www-ets.woolworths.com.au/ets/owa/items?search_pattern=milk&";
         site = site + cust_id1;
         site = site + "&imode=search&search_option=";
         System.out.println(site);     
         inputURL = new URL(site);
         BufferedReader inagain = new BufferedReader(new InputStreamReader(inputURL.openStream()));
         //tried the connection way
         //connection = inputURL.openConnection();          
         //BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         while ((inputLine = inagain.readLine()) != null)
              //System.out.println(inputLine);          
              x = inputLine.indexOf("cust_id=");
              if (x != -1)
              cust_id2 = inputLine.substring(x, x + 14);
              System.out.println(cust_id1);
              System.out.println(cust_id2);
              System.out.println("2nd time completed");
              inputStream.close();
       catch(ArrayIndexOutOfBoundsException obe)
                System.out.println("Usage: FetchURL url");
       catch(IOException ioe)
                System.out.println("IO Exception");

    Please have a quick look at my code and see if I am doing anything wrong. I havent been able to set the correct cookies and the output html page comes up with an error saying that it could not retrieve my request. This time there is no mention of invalid cust_id.
              try
                   URL inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
                   connection = inputURL.openConnection();
                   System.out.println("filename = " + inputURL.getFile());
                   BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                   while ((inputLine = inputStream.readLine()) != null)
                        //System.out.println(inputLine);
                        page = page + inputLine;     
                        x = inputLine.indexOf("cust_id=");
                        if (x != -1)
                             cust_id = inputLine.substring(x + 8, x + 14);
                   out.write(page);
                   out.close();
                   System.out.println("extracted cust_id: " + cust_id);
                   for (int i = 1; i <= 30; ++i)
                        System.out.println("    Header " + i + ":  " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
                        header = header + connection.getHeaderFieldKey(i);
                        header = header + ": ";
                        header = header + connection.getHeaderField(i);
                   outcookie.write(header);
                   outcookie.close();           
                   inputStream.close();          
                   //extracted the customer id, now able to search for the product
                   //test for milk
                   String url2 = "http://www-ets.woolworths.com.au/ets/owa/items";
                   //String url2 = "http://www-ets.woolworths.com.au/ets/owa/login?topage=search";
                   inputURL = new URL(url2);     
                   connection = inputURL.openConnection();     
                   connection.setDoOutput(true);
                   //connection.setUseCaches(false);
                   System.out.println("filename = " + inputURL.getFile());
                   String date = "; expires=Mon, 28 Jan 2002 02:53:17GMT; path/;";     
                   String date1 = "expires=Sun, 31 Dec 1989 14:00:00 GMT; path/;";
                   connection.setRequestProperty("cookie", "qwc=" + cust_id + date);
                   connection.setRequestProperty("cookie", "cust_id=" + cust_id + "; path=/;");
                   connection.setRequestProperty("cookie", "cd=2%40142%40%40%40%40N%40; path=/;");
                   connection.setRequestProperty("cookie", "state=NSW; path=/;");
                   connection.setRequestProperty("cookie", "dsd=1; path=/;");
                   connection.setRequestProperty("cookie", "sb1=0%2A%2D645746%2D0%2A; path=/;");
                   connection.setRequestProperty("cookie", "sb2=0; " + date1);
                   connection.setRequestProperty("cookie", "sb3=0; " + date1);
                   connection.setRequestProperty("cookie", "sb4=0; " + date1);
                   connection.setRequestProperty("cookie", "sb5=0; " + date1);
                   connection.setRequestProperty("cookie", "sb6=0; " + date1);
                   connection.setRequestProperty("cookie", "sb7=0; " + date1);
                   connection.setRequestProperty("cookie", "sb8=0; " + date1);
                   connection.setRequestProperty("cookie", "sb9=0; " + date1);
                   connection.setRequestProperty("cookie", "sb10=0; " + date1);
                   connection.setRequestProperty("cookie", "sbn=; path=/");
                   connection.setRequestProperty("cookie", "search=milk; " + date1);               
                   //connection.setRequestProperty("Content-type", "application/octet-stram");
                   //connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
                   //String parms = "?search_pattern=" + URLEncoder.encode("milk") + "&cust_id=";
                   //parms = parms + URLEncoder.encode(cust_id);
                   //parms = parms + "&imode=" + URLEncoder.encode("search") + "&search_option=";
                   //System.out.println("parms : " + parms);
                   String parms = "?search_pattern=milk&cust_id=";
                   parms = parms + cust_id;
                   parms = parms + "&imode=search&search_option=";
                   System.out.println("parms : " + parms);
                   PrintWriter outStream = new PrintWriter(connection.getOutputStream());
                   outStream.println("parms");
                   outStream.close();               
                   BufferedReader inputStream1 = new BufferedReader(new InputStreamReader(connection.getInputStream()));     
                   //BufferedReader inagain = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                   while ((inputLine = inputStream1.readLine()) != null)
                        //System.out.println(inputLine);
                        page2 = page2 + inputLine;
                        x = inputLine.indexOf("cust_id=");
                        if (x != -1)
                             cust_id2 = inputLine.substring(x + 8, x + 14);
                   out2.write(page2);
                   out2.close();
                   System.out.println("2nd attempt cust_id" + cust_id2);
                   for (int i = 1; i <= 30; ++i)
                        System.out.println("    Header " + i + ":  " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
                        header2 = header2 + connection.getHeaderFieldKey(i);
                        header2 = header2 + ": ";
                        header2 = header2 + connection.getHeaderField(i);
                   outcookie2.write(header2);
                   outcookie2.close();      
                   inputStream.close();
              }The original web page to get the cookie is
    http://www-ets.woolworths.com.au/ets/owa/login?topage=search
    Enter a search product eg milk and that is the second page I am trying to extract.
    You will notice in the middle of the url is cust_id.
    Am I going about this 2 pages completely wrong?

  • How can I hide the downloads window?

    Hi,
    When I download a file the downloads window opens on top of the page I'm viewing. I have to then close it or move it to carry on working on that page. I then go to save another file off the page and the downloads window opens up over the page again. This is flippin' annoying when you're researching and downloading a number of documents off hte same page.
    How can I stop the downloads window opening on top when I download files?
    Any advice much appreciated :-)
    Many thanks!
    Evan

    There is a way, but it may not be supported for ever... If you want the old download manager back, go to about:config, click the I'll be careful, I promise! button. Then search for "download", and set the browser.download.useToolkitUI preference to true (double-click it).

  • I like the feature of the PDF being opened on the new tab on firefox browser windows. But the newer version (3.6 or 4.0) will automatically open PDF in a pop up adobe apps. How do I keep the PDF open on the new tab as before? thank you

    I like the feature of the PDF being opened on the new tab on firefox browser's windows. But the newer version (3.6 or 4.0) will automatically open PDF in a pop up adobe apps. How do I keep the PDF open on the new tab as before like the 3.5 ver.? I want the PDF opened in the new tab rather than in the Adobe's app's pop up window. Could you help?
    thank you

    '''I fixed mine by removing the Ask.com extension.'''
    Tools
    Add-ons
    Settings icon
    View Recent Updates
    Ask.com '''DISABLE'''
    Running FF 8.0 on Windows 7 (64-bit)

  • How do I set the default window size when I open a Numbers 3.0 document

    How do I set the default window size when I open a Numbers 3.0 document?
    When I open an existing document it always open too small, I resize it but next time I open it it's small again! Please help! I used to be able to resize them then they stayed that size until I resized it no matter how many times I opened and closed it before upgrading to 3.0!!!!

    This document can help you set the print settings for any type of printing. Not just for photos as the title suggests. You should not have to keep setting it every time.
    Printer settings
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • When I am using Firefox I keep getting unrequested Windows opening with full page advertisements. Why is this happening and how can I stop it?

    When I am using Firefox I keep getting unrequested Windows opening with full page advertisements. Why is this happening and how can I stop it? This is particularly aggravating when the new page has music or a voice message that intrudes even when I am not looking at the page.

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

Maybe you are looking for

  • After trying to upgrade, Apple TV will no longer respond. Tried reset and unplug from power...no results

    After allowing Apple TV to upgrade, it never finished and became unresponsive. We have tried several reset methods including remote reset, unplug from power and even killing power to wifi and tv too but nothing has worked. Any other thoughts???

  • Macbook pro mid 2009 incompatibility issues

    k i got a macbook pro 17inch mid 2009 the only os that seem to work with this mac is mac os x lion version 10.7 (11A511) i tried mountain lion, maverick and yosemite and the only way that i could use this other os is if i boot in safe mode last time

  • Cannot update or reinstall iTunes - receiving access error message

    Hello I tried to install the most recent iTunes update the other night and received the below errow.  I uninstalled and tried to reinstall and am still receiving the same error - Error writing to C:\Program Files(x86)\iTunes\iTunes.Resources\fr.prj\p

  • Alv grand total

    hi gurus pls help me on this issue....... i want grand total on each column of this report. for example field 'metric-safety'. if possbile try to edit this and send me. TYPE-POOLS : slis. Tables : Marc, " Plant Data for Material Mbew, " Material Valu

  • Need Urgent Help with trigger in Oracle 10g

    Hello frd, I am working on my DBMS Project in VB 6.0 that is Tollbooth management system i have to insert one trigger for my project so i had decided to insert time trigger. I have total 3 table UserLogin, Vehice and Vehicle_Data the 3rd table Vehicl