Clear screen in command promt

Is there any way I could clear the screen of in a command prompt with out using native methods.

In case you're wondering (and I bet you aren't): yeah, I meant dog.

Similar Messages

  • Clear Screen in command interpreter

    Hello, can anyone please tell me how I can clear the command prompt from all outputs?
    for instance, if "Hello" was printed on screen and I would like to input another string afterwards, can I clear Hello and then input as if no output appeared prior to the input statement?
    Thanks,
    Batzi
    Edited by: Batzi on 23/12/2009 01:36 ?

    its giving error
    java.io.IOException: Cannot run program "cls": CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
         at java.lang.Runtime.exec(Runtime.java:593)
         at java.lang.Runtime.exec(Runtime.java:431)
         at java.lang.Runtime.exec(Runtime.java:328)
         at com.ClearCmdPrmt.clear(ClearCmdPrmt.java:12)
         at com.ClearCmdPrmt.main(ClearCmdPrmt.java:29)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
         at java.lang.ProcessImpl.start(ProcessImpl.java:30)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)

  • "clear screen" command exits sqlplus

    Hi,
    I am running a 10gR2 database. when I issue "clear screen" command at the sqlplus prompt, it throws me out of the sqlplus. there are no error messages.
    anybody having the resolution ?
    thanks.

    I got it ... its a bug in 10.2.0.1, the version which I m using
    bug 4595395      CLEAR SCREEN causes SQLPLUS command line to dump
    this is resolved in 10.2.0.2 patchset. Note: 358749.1
    thanks.

  • Clear screen in "Run SQL Command Line" causes the utility to dump in Window

    Just for your notice... I have not checked if i can reproduce this on Linux platform or on second node running Windows XP Pro.
    But if I use "Run SQL Command Line" utility and do
    clear screen
    The utility dumps, (not the database though only the utlility)
    Maybe some other people could confirm if this findings is a bug or not and if it is a port specific issue with Windows XP only.
    Kindly Rgds
    /Ulf, Kentor IT Sweden

    Tracking info is in
    Re: SQL*Plus generated Program Error
    -- cj

  • Clear Screen, Sql plus Error, in release 10.2.0.1.0

    Hi there,
    I'm having problem in using clear screen command in SQLPlus utility of Oracle Release 10.2.0.1.0. When executing clear screen in SQL Plus ( in command prompt) in windows machine, suddenly a dialogue box opens and saying that "SQLPlus encountered an error and sorry for inconvenience "
    Is this the problem with OS or Oracle Client?
    Could anyone please help me in resolving this issue?
    Thanks
    Raja

    So that is the problem with Oracle client only, not with the OS configuration and all.... shall i assume?

  • How to Hide password when invoking sql plus from command promt?

    When i try to open sql plus in command prompt window and enter the sqlplus command follwed by username/password@connection string, the password is not hidden.
    How do I get it to show **** instead of displaying password characters out?
    Also, what is the command to clear screen : when I try cls or clear screen, I get a windows memory exception of somekind and the only option there is to kill the command window.
    Any tips on getting around this?
    Thanks a lot for your time and help.

    user8848256 wrote:
    Can you please give more details on how to not enter password when calling sqlplus from command window like you are saying?
    I tried this :
    sqlplus username/ @connection string -->Hit Enter : it asks for password but does not recognise the connectionstring to connect to.
    sqlplus username/ -->Hit Enter: It does same thing again.asks for password but gives tns adapter error after the password is entered.Leave out the slash:
    sqlplus username@connect_string

  • Urxvt patch: VTE like clear screen behavior

    I've switched to urxvt last week. I come from the VTE world (gnome-terminal, xfce-terminal and such, the latter in my case). VTE has a nice feature to which I've accustomed myself. This is the way how it handles the clear screen function (ctrl-L).
    In VTE when you press ctrl-L, the screen cursor position gets to top row and the lines get scrolled just before the visible portion of the window. This means that the scrollback remains intact so you can scroll back and see it later. If you press ctrl-L again when you are at top you get a bunch of empty lines - you can use this to mark the scrollback with empty portions when you are scrolling back large amounts of texts.  This is handy for example when you want to quickly glance at an output from a command but you want to differentiate from different outputs - I press ctr-L several times before I execute the command and then I can just quickly scroll back - I immediately spot where the command began because it has a large black spot before it.
    The way urxvt works in this case that it just positions the cursor to the top row and then just erases everything below that point. This means you lose valuable lines from the scrollback. Example: type "seq 1000", press ctr-L. Now you won't see the last lines of the command's output!
    Now it is possible that I have a misconfigured urxvt and I'd be interested in the config option which I have misconfigured.
    Here's a patch for urxvt which adds proper clear screen function and also adds the VTE-like functionality:
    *** src/command.C 2011-10-29 18:06:07.000000000 +0200
    --- src/command.C.patched 2011-10-29 18:05:28.000000000 +0200
    *************** rxvt_term::process_csi_seq ()
    *** 2932,2937 ****
    --- 2932,2948 ----
    case CSI_CUP: /* 8.3.21: (1,1) CURSOR POSITION */
    case CSI_HVP: /* 8.3.64: (1,1) CHARACTER AND LINE POSITION */
    + if (nargs == 1 && current_screen == 0)
    + {
    + // This is usually followed with clear screen so add some extra
    + // lines to avoid deleting the lines already on screen. If we are
    + // already at the top, add an extra screen height of lines.
    + int extra_lines = nrow-1;
    + if (screen.cur.row == 0)
    + extra_lines += nrow;
    + for (int i = 0; i < extra_lines; ++i)
    + scr_add_lines (L"\r\n", 2);
    + }
    scr_gotorc (arg[0] - 1, nargs < 2 ? 0 : (arg[1] - 1), 0);
    break;
    Last edited by rlblaster (2011-10-29 19:07:32)

    Now I see what's happening! Your prompt uses '\e[H' which is used as move to home. I assumed that '\e[H' is usually followed with clear screen. This means if you use it to just move the cursor to home it won't work. I don't really see how could I fix this nicely but here's a workaround for your prompt: use '\e[1;1H'. In other words:
    PS1=$'%{\e[s\e[1;1H\e[30;42;1m%}[%~][%M] %{\e[K\e[256C\e[8D\e[30;42;1m%} [%D{%H:%M}]%(?,%{\e[32;32m%}\u2588,%{\e[31;41;1m\u2588)%}%{\e[u\e[1A%}\n%{\e[0;32m%}> %{\e[0m%}'
    By the way the feature of adding extra blank lines if your cursor is already at top won't work in your prompt because your cursor is always at least on row 1. You could change the patch from
    if (screen.cur.row == 0)
    to
    if (screen.cur.row <= 1)
    to have this feature.

  • What is function to clear screen ??

    hi,
    What i s function to clear screen .. for example in C-languse we use clrscr();
    like that what is function in java to clear screen.. that is in command prompt window clear

    I dont thik u can do this...
    since u are writing to a stream. so what ever is written is written...
    but if u have any ur own component developed u can do this.
    regards,
    Karthik

  • Clear screen from sql file

    at sqlplus prompt, I can type either HOST CLS or CLEAR SCREEN and both work..
    but when I put either of them in an .sql file and run it from sql with @c:\file.sql
    both commands error with:
    ORA-06550
    PLS-00103 encountered 'CLS' or 'SCREEN'
    OS IS Windows 7 with Oracle 11.1.0.6 client
    my goal is to run a dbms_output line while in a loop
    so the data shows on the screen and refreshes when it is changed
    without clearing the screen, it just shows over and over and scrolls by a list of them very fast

    Merlin128 wrote:
    at sqlplus prompt, I can type either HOST CLS or CLEAR SCREEN and both work..
    but when I put either of them in an .sql file and run it from sql with @c:\file.sql
    both commands error with:
    ORA-06550
    PLS-00103 encountered 'CLS' or 'SCREEN'
    OS IS Windows 7 with Oracle 11.1.0.6 clientThe SQL*Plus CLEAR SCREEN command works for me.
    my goal is to run a dbms_output line while in a loop
    so the data shows on the screen and refreshes when it is changed
    without clearing the screen, it just shows over and over and scrolls by a list of them very fastSorry, I don't think you can do that.
    Dbms_output does not display anything while the PL/SQL code is running. In fact, it doesn't actually display anything, ever. Dbms_output merely puts text to be displayed into a buffer. When control returns to SQL*Plus, then SQL*Plus displays all of the buffered text together. So if your PL/SQL block consists of a loop that takes 10 seconds per iteration, and you go through the loop 6 times, you will wait a full 60 seconds before seeing any output, and then see all 6 lines as quickly as PL/SQL can display them.

  • After having downloaded the free version of Maverick OS X, HD version, I haven`t got a clear screen anymore and even on my photos lots of scratches in different colours appear. It seems to me that something went wrong.

    Since I have downloaded the free version Maverick OS X, HD version, from the App Store, I haven`t got anymore a clear screen whenever I open a page. Scratches and stripes appear and this is especially annoying when I wanna have a look on my downloaded photos from my iPhone 5 S. Does anybody know a solution ? Maybe somebody is struggling with the same problem.

    I'm not sure what you mean by HD Version. There is only one Mavericks and I find nothing about HD.
    Perhaps you have the display resolution set wrong for your display.

  • Create WiFi Hotspot using the command promt

    I was trying to create WiFi Hotspot on my Windows 7-32bit running laptop using the command promt method after followinng the instructions from here >> http://www.techswatch.com/2014/11/create-wifi-hotspot-windows-87-command-prompt.html However, the problem is, after creating the hostpot, when I enter the password it does get connected but I cannot access the internet. I am sure that I have entered the correct password else it wouldn't have got connected. Any idea what could have gone wrong? Any help would be apprecited. 

     
    Hi ihtisham301, 
    Thank you for visiting Sony Community! 
    Try to connect any different device to your home network. If other device can't connect then you may contact your Internet Service Provided (ISP) for further assistance. 
    If other device can connect, then try to isolate the issue. You mentioned you cannot connect to the network but you were able to enter the credentials before connecting to the network. Try to ping any website, Start -> search cmd -> once in command prompt, enter ping googe.com and hit Enter. Check the Ping statistics. Try to ping your router as well. ping [router IP address] then hit Enter. Also boot the laptop in Safe Mode with Networking -> turn off the laptop, press the power button and immediately, tap the F8 key repeatedly. Once in Advanced Boot Options, select Safe Mode with Networking. 
    I'm not quite sure about the process that you did. I never tried that before. And another thing is, it seems that you are using a non-U.S. model of Vaio. We usually have Windows 7-64bit computer. We have limited information with non-U.S. model of laptops. 
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    Hope my suggestions help. 
    Thanks,
    Vincent 
    If my post answers your question, please mark it as "Accept as Solution"
     

  • Out of memory, clear screen, cannot boot, no icons

    I have lost all icons. Cannot boot without a hard boot. Clear screen.
    All day long it said out of memory. I have 10gb. I cannot even access utilities or any programs.
    Really lost.

    http://www.macmaps.com/diskfull.html
    http://www.thexlab.com/faqs/freeingspace.html
    https://discussions.apple.com/thread/2804827?threadID=2804827
    Boot from another drive then. Don't have one, then boot from OS X DVD : Restore : and copy (clone) 'source' your drive to a new 'target' drive
    http://macperformanceguide.com/Mac-HowToClone.html
    http://macperformanceguide.com/Mac-HowToClone-backup.html

  • HIde Menu,System and Command Promt from transaction ivew

    Hi,
    Our client has implemented SAP HR module, year back.
    Now they are implementing ESS and they have done some developments for CLAIMS in R/3 earlier. Now they want to see those claims in portal. For that we have created transactional iview. Its coming fine in portal. But the only problem is that, its displaying sap standard menu. i.e menu, system and command promt in portal. Now my concern is how to hide these things ???
    Useful Answer's will rewarded.

    Put these parameters
    ~noHeaderOkCode = 1
    ~webTransactionType = EWT.
    in transaction sicf
    ->sap->bc->gui->sap->its-> Webgui
    push button gui configuration and set the parameters
    check with se93 if transaction is web enabled
    regards

  • Command Promt in Java

    hii everybody
    i want to know how can one execute commands of command promts in java
    is ther eany function

    heeheh. "promt" ...
    Anyway, look at runtime.exec(); its in the api

  • Help using command promt

    I can run the command promt from the RUN command. I type in javac and it says its reconized. I set the path and classpath. I don't know if its right. I am using XP. When I go to open the javac window from my program files, it comes up and displays a messege. It goes away before I can read it. I can't open any of the files yet. PLEASE HELP ME OUT.

    You may want to try the tutorial here:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

Maybe you are looking for

  • How to do Translation of Lables in Internet Service

    Hi, I have created an internet services in SE80 and write the code which is showing some labels on the output screen. Now I have to do the translation in Spanish Language for the lables maintain in english. Please tell me where I have to do this tran

  • Scaling mobile app works fine on the X but not on the Y

    I originally made my app to work for iphone only but I am now scaling it to work on Ipad/ Android etc. I am doing all the scaling manually. It is a tabbed application. I am scaling all x and y locations and widths and heights by a scale factor that i

  • Displaying image in gridview.

    Hi guys, i am trying to display a picture in a gird view on clicking the view button. no error was displayed, image was not displayed either. Help please! Code Behind Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As Sys

  • Mountain Lion back-compatibility, workarounds

    Looking around the discussions, it looks like programs running on Mountain Lion will generally open files created in programs from pre-Intel days, but that the old programs themselves won't run.  Is that correct?  I'm sorry to see the once-vaunted Ap

  • Prob in hierarchies

    hi gurus, iam unable to load data into heirarchies...can u plz help in loading the data to hierarchies and creation of hierarchies thnak u in advance