DOS command line question

Hi, Isn't there a DOS command line symbol so that when javac returns all your syntax errors you can pause the screen before it blazes by your screen and you only catch the last few syntax errors. I thought it was javac whatever.java /p, but this doesn't work.
Thanks.......gemann

You might try
javac yourClass | more
but I seem to remember trying that without success.

Similar Messages

  • How to run stored procedure in DOS command line????

    Hi,
    I want to run a stored procedure in DOS command line?
    (My_Stored_Procedure is the stored procedure that I want to run )
    This is what I did in DOS prompt
    C:\>sqlplus scott/tiger exec lMy_Stored_Procedure <Return>
    Obviously it is NOT working. Please send me the correct way to fix this.
    Thanks so much in advance for helping.
    Cuong

    Billy  Verreynne  wrote:
    BluShadow wrote:
    True Billy, but even Windows hasn't completely got away from using the "DOS" word...Yeah - the command line/shell environment is based on that of the old DOS command interpreter. But Microsoft does not make the mistake of call it DOS.
    In fact, with earlier versions of Windows NT, a 16bit DOS real-mode virtual machine was supported. This was very kewl.
    Running a large BBS with multiple nodes back then required a DOS machine per node, an IPX network, and a Novell file server.Novell Netwars. ;)
    Ahhhh! good old DOS... so many good programs written at that low level, outside the Windoze environment.Yeah.. cut my teeth on writing code for DOS. Still have all my old BIOS and assembler manuals for it. Wrote my own screen s/w (write to a buffer and then move it into the video buffer, instead of writing char wise to the video buffer via interrupts), mucking about with my own concurrent threading model (using very simplistic cooperative multitasking) and so on. Heck, wrote tons of s/w on DOS... :-)Yeah I've still got a copy of my old machine code programs for writing to buffers and screen memory switching for smooth animation. Run them nowadays and they run like sh!t off a shovel. And all my old coursework including writing an interpreted language and multi-window (dos based windows) editor, parser and the code to execute the language and display the output. Oooo, and so much other stuff.
    Awesome back then as you got really intimate with the o/s and hardware. This is sorely lacking today in environments like Java. And I think the reason why so much code written today is less than optimal - to put it kindly.Exactly. Started for me on the Sinclair zx81 (writing Basic), then the Sinclair Spectrum (Basic and Assembly), then Sinclair QL (yes I really had one!) and then the BBC Master 128K (where I got to writing my own rom filing system and creating my own eproms, to integrate with the word processor for additional printing features etc. as well as storing games on rom for speedy loading - and I still have it and it still works!)
    It's that level of working with the underlying memory and assembly language that gives you the understanding of how values are passed between code using the stack and registers, and how memory allocation and referencing is done etc. As you say... it's missed in a lot of todays teaching, which just seems too high level and misses the basic concepts of things such as datatypes and why they are different. I bet half the modern programmers wouldn't have a clue how to do multiplication or division of binary numbers using the carry flag.

  • Windows/DOS Command line for Apple Software Update

    I have a lab of Mac's and PC's all running iTunes/Quicktime. Is there a windows/DOS command line option to running Apple Software Update on Windows? I dont want to have my systems automatically download updates until after I have had a chance to test them first. At the same time though, I down want to have to visit each system(even with VNC) and install the updates by hand either as I have a way to blast a command at the PC's all at once to do the job.
    m
    MacBook Pro   Mac OS X (10.4.10)   Windows XP Pro

    ok i've sorted it, the solution is you have to put
    defaults write /Library/Preferences/com.apple.Softwareupdate CatalogURL http://servername:8088/
    and not
    defaults write com.apple.Softwareupdate CatalogURL http://servername:8088/

  • Command line questions....

    I really have two questions here.
    First, I have a small server that is very similar to this one I pulled off a tutorial:
    public class MyServer{
    // A bare-bones example: exception handling omitted.
       public static void main( String args[] ){
          ServerSocket serv;
          serv = new ServerSocket( 5150 );
          while ( true ) {
             Socket s;
             s = serv.accept();          // Wait for a connection
             handle_connection( s );  // Got one, now do something!
            s.close();
    } When I run this program from the command line it goes into an infinite loop readily accepting connections.
    For the most part, this is what I want. But how do I gracefully exit the program? Simply closing the command window seems drastic, not to mention the list of exceptions it throws.
    Second question: Once I run my program, is there a way I can close the command line window and log off the computer without killing my program?
    thanks.
    (Running on NT)

    How do you stop the program? You write another program that connects to the same socket and sends a message that both programs agree means "Shutdown". When the server receives this message, it shuts down nicely.
    Now you want to run it as an NT service? I've seen people post links to a third-party package that can run a Java class as an NT service; I didn't note the link but you could probably find it by searching the forums.

  • Audio guys, LAME command line question

    Hey I know this is not the exact forum for this question but I figured you guys could help me better than anyone. I have a G5 running tiger server and a website that is recompressing uploaded MP3 files using LAME via command line. LAME seems to be mangling some of the files by creating distorted filed and 0 byte sized files. I am wondering is there an any other mac program that I can use to reencode mp3 files with the terminal and command line? LAME is said to be great but the files that are already at the frequency that I want (44.1) are converted ok but everything else is just mangled... any suggestions. Thanks!

    I guess I'm looking for either:
    a suggestion on why LAME might be messing up files, maybe someone wlse who had similar issues with LAME and found a fix
    or
    another mac program like LAME that I can run via command line through PHP to convert files.
    I'll play with automator and see if the itunes option might work.
    Thanks!

  • Need DOS Command-line for vgabios

    Hello,
    can anyone post the standard command-line for me to copy and paste into msdos autoexec ? I'm trying to temporary load the vgabios for my geforcefx.

    edit command. C:\edit autoexe.bat
    Now type in the commands you want
    Edited for misleading content

  • Execute Process Task :Executing DOS Command lines in Execute Process Task

    Hi All,
    I am trying to sftp files using Tectia Client from my local system. For that I have used the Execute Process Task in SSIS. First I open DOS command and try to instantiate the sftp3.exe.
    Then I write down the below command
    binary
    open username@hostname
    lcd C:\Test
    cd <Destination Path name>
    put test.txt
    How to execute the command in execute process task ?
    help is appreciated
    Thanks

    Hi ConnectDebz,
    According to your description and script example, do you use WinSCP.exe to perform the SFTP files transfer? If so, you should set the Executable of the Execute Process Task to the path of the WinSCP.exe, save the script in a .txt file and set the Argument
    of the Execute Process Task like “/script=C:\Temp\sftploader.txt” (without quotes).
    References:
    http://www.sqlservergeeks.com/blogs/raunak.jhawar/sql-server-bi/395/sql-server-sftp-with-ssis-execute-process-task 
    http://gregcaporale.wordpress.com/2012/02/23/using-sftp-in-sql-server-ssis/ 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Update BIOS from DOS command line?

    Hello, I'd like to be able to flash the BIOS from the boot prompt or with a USB/CD/DVD based tool. I cannot open any OS even from live DVDs. My Presario SR5507F came originally with Vista installed but over the years it was upgraded to Windows 8.1. It gave us years of reliable service but sometime last fall the PC started experiencing seemingly random reboots and powerdowns. Things got pregressively worse until the PC was unusable. It would run for 15 or 20 minutes and then reboot. The problems started shortly after a Windows update, so I thought this was a patch or driver update issue. I tried reverting an removing patches to no avail. I also tried installing Ubuntu and Fedora, but they exhibit the same issues. Fedora is worse than Ubuntu, though. I tried to reinstall Windows 8.1, then 7 and finally the original Vista 32-bit OS but all Windows installations fail at some point during drivers installation. The computer just enters an endless reboot cyle and Windows cannot be installed. I ran memory tests but they all pass and I can use a text based OS, such as DOS. I have tried to reflash the BIOS, thinking it may have been corrupted during one of the reboots, but since I cannot install any version of Windows, the BIOS flash tools refuse to work. I need to be able to flash the BIOS from the DOS command prompt or at boot. Is there such a tool from Compaq/HP? Thanks!

    The BIOS file is found on THIS PAGE and is listed asMCP61PM-HM Motherboard BIOS Update 5.271.5 MBAug 2, 2012sp40911.exe Open the download after it is complete with 7-zip by right clicking on the sp40911.exe, then extract the Net5.24 to a known location.  AWDFlash downloadJust rename the file to 524.bin and use awdflash from DOS.Use  awdflash 524.bin /cc/cd/cp/py/R

  • Simple command line question

    i was wondering if there is a way to include all jar files from a single directory on the classpath when running java app from the command line.
    eg i am using this command:
    java -cp ..\libs\jar1.jar;..\libs\jar2.jar;..\libs\jar3.jar;..\classes package.Main
    what i want to be able to do is something like:
    java -cp ..\libs\*.*;..\classes package.Main
    i have tried using *, *.* and *.jar with no success. is it possible to do without setting environment variables etc.
    thanks

    >>
    It may be more error prone, but it's stilleasier. I
    use wildcards on the command line (and * in SQL)all
    the time, with few or no problems.
    Seriously this is a bad idea and you should stop
    doing it.
    You should always name your columns for SELECT (and
    for INSERT as well). For SELECT queries it offers the
    following benefitsSorry--I should have been more clear..
    I dont' use * in production SQL--for the reasons you mentioned. But I do a lot of one-off queries for testing, debugging etc.
    As for wildcards on the command line, again, for my daily putting around, there's not the risk that there is in production. In production, well, it may still be appropriate to use wildcards sometimes. You may actually want "everything in this directory, or that matches this pattern," where you don't know in advance what that will be. Regex comes to mind. :-)

  • QT Command Line Question

    I am looking for a script which I can convert movies through a simple line of code while being able to adjust Quality, file types to convert to, Frame Rates ...
    Pretty much all that Quicktime Pro can do.
    does anyone have an idea of where I can start?

    Try starting by opening the Script Editor in the /Applications/AppleScript folder, loading the QuickTime Player's AppleScript dictionary, and working until you create a script which does what you want. If you succeed in doing this, you can then create a command line method of converting the movies if you want to; post back for further assistance.
    There are a few pure command line tools for QuickTime, but all the ones I found can only play QuickTime files without having the capability to modify anything.
    (13221)

  • Disable Security prompt or message in dos command line

    Dear all,
    I am working on :
    - Windows 2003 server
    - Office 2007
    - Adobe Acrobat 9 standard
    When I run a dos command :
    C:\WWI>"C:\Program Files\Adobe\Acrobat 9.0\Acrobat\acrodist.exe" /n /q /o "C:\WWI\PS2PDF\Document1.PDF"  C:\WWI\PS2PDF\Document1.PS"
    I always have a confirmation message : "Confirm Security" with 3 options : Edit, Clear and Retain.
    My concern is to not display this prompt because the job is in a batch mode.
    So, could you please help me ?
    Anybody know if exist a command switch or a registry key in order to force Acrobat distiller to apply the defaults security parameters with a unique password ?
    I have contacted the Adobe support but nobody can help me.
    See below how I set parameters up in Adobe PDF printer and security settings
    Thank you for your help and assistance

    Distiller Server is discontinued, so I don't think Adobe intend Distiller to be run unattended any more.

  • Command-Line question. Delete all but particular folders

    Hello. I need to create a batch file that will delete all folders within the "Users" folder except for the Administrator and Administrator.domainname.
    Can anyone help?
    Thanks

    You could try something along the lines of
    FOR /F "tokens=*" %%G IN ('DIR /B /A:D c:\test') DO if not "%%G" == "test2" if not "%%G" == "test3" rd /s /q "c:\test\%%G"
    but if you do, you may also delete
    c:\Users\Public
    c:\Users\Default         (a hidden folder)
    c:\Users\All Users       (a system folder)
    c:\Users\Default User (a system folder)
    Which may be regrettable. If you want an example of what happens then, try reading
    http://superuser.com/questions/219082/accidentally-deleted-user-profiles-on-windows-7-cant-log-on-with-other-users

  • Read classpath from a file on dos command line

    Hi,
    How to supply the classpath information from a file. I have a file with my classpath and I want to run java command as below
    java -cp classpath.txt com.mycompany.MyTest
    How to supply classpath information that is in classpath.txt file to java executable?
    Thanks for all your help
    Siva

    This seems to work
    for /f %%a in (classpath.txt) do (
    java -Xmx1280M -cp %%a %*
    )

  • Command line question,

    Hi all,
    I am using googlecl to upload a bunch of picture to my picasa account, so far no issue.
    But if i'm using ~/picasa-upload/*.JPG it will upload all but in a random order.
    see outcome below:
    Loading file /home/sweetth/picasa-upload/SDC10825.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10809.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10740.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10781.JPG to album Newcastle
    I want to have them to upload from SDC10655.JPG to SDC10800.JPG
    is there a way to right the commands to do have the upload happening in numerical order?
    Many thanks,

    Allthough ls works ok here, parsing ls output is a bad habit in general because a) the output will differ across implementations, b)  it will cause problems if it's used in a for loop like this, and c) it is often not necessary at all...
    Just loop over a glob in bash:
    for f in *.JPG; do googlecl "$f"; done
    (this will call googlecl for each file individually, not sure if that's what you want)
    Or use find and xargs instead of ls:
    find . -name '*.JPG' -print0 | xargs -0 googlecl
    Last edited by hbekel (2010-11-01 12:58:38)

  • OVM3.0.3 command-line question - how to clone

    Guys,
    I'm trying to do the following:
    take a hot clone every hour of a vm as a sort of backup of the vm
    I haven't noticed any functionality in the manager GUI. I need advise on the command to achieve this.
    Kind regards,
    J
    Edited by: JD on May 4, 2012 5:25 PM

    Have you tried this one: ovmcli-2.2-9.el5.noarch.rpm
    That should provide cli access to the Oracle VM GUI functions, including VM cloning. As a running VM results in a hot clone in OVM 3, maybe this will do th etrick for you. However, the release notes only mention OVM 2.2, but maybe it's worth a shot.

Maybe you are looking for

  • OIM 9.1.0.2 provisioning privilege configuration?

    Hi there, I've set up an access policy to provision users of a certain employee type/role to an Oracle DB. However, (a) when I create said user, no provisioning seems to occur. (b) I'd like to adapt the provisioning so that it grants connect privileg

  • F-28 cash discount error

    For making payment to the billing document from SD in f-28 t-code, we are getting the cash discount percentage but the cash discount amount is not displying even we specified the payment terms in Sales order creation. Even, if we specify manually the

  • Best practice for taking Site collection Backup with more than 100GB

    Hi, I have site collection data is more than 100 GB. Can anyone please suggest me the best practice to take backup? Thanks in advance.... Regards, Saya

  • How to expose a Delegate feature of BPM workspace to oracle primavera

    Hi All, We have Oracle primavera which is getting used for Project portfolio management and we are using BPM workflows to manage it. All the Human task pages are designed on ADF which can be accessed directly from Oracle Primavera application by user

  • ADF 11.1.1.2.0 and Tomcat 6.0

    All, Shay Shmeltzer posted clear, concise instructions to get ADF 11.1.1.1.0 running under Tomcat 6.0, and they worked beautifully. What I've noticed, though, is that many of the jar files are missing in JDeveloper / ADF 11.1.1.2.0. Indeed, it seems