Results 1 to 6 of 6
  1. #1
    Malz is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Writing a README file

    Hi everyone,

    Am new to java and would like to ask some questions on how to code a program in java using eclipse.

    1. Changes the current path to the upper level. i.e.
    C:\Windows>gdb ->User input
    Then the current path would be
    C:\>

    2. Opens a text file to edit it. For example
    C:\>Tedit sample.txt -> User input
    It runs the text-editor (Tedit) using two threads. One thread keeps listening to the user
    input and other checks for the spell mistakes

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Writing a README file

    I don't know if you can do that in java.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    jashburn is offline Senior Member
    Join Date
    Feb 2014
    Posts
    219
    Rep Power
    1

    Default Re: Writing a README file

    Let me try to understand what you're trying to achieve. Just focusing on the first one:
    Quote Originally Posted by Malz View Post
    1. Changes the current path to the upper level. i.e.
    C:\Windows>gdb ->User input
    Then the current path would be
    C:\>
    Do you mean:
    • user currently in C:\Windows directory
    • user types gdb (Enter)
    • Java program runs, and does an equivalent of "cd .."?

    I'm really curious why you would want to implement this, and what's wrong with using "cd .."? A bit more background context to your question would be helpful.

  4. #4
    Malz is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Re: Writing a README file

    Quote Originally Posted by jashburn View Post
    Let me try to understand what you're trying to achieve. Just focusing on the first one:

    Do you mean:
    • user currently in C:\Windows directory
    • user types gdb (Enter)
    • Java program runs, and does an equivalent of "cd .."?

    I'm really curious why you would want to implement this, and what's wrong with using "cd .."? A bit more background context to your question would be helpful.
    Hi,

    I mean to implement a code in java (Eclipse to run this command). Firstly the program will ask user to enter gdb and it will show the directory. The yellow space if for user input Writing a README file-capture4.jpg

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Writing a README file

    Is the program supposed to simulate a OS's command prompt window, for example in a text area?
    If you don't understand my response, don't ignore it, ask a question.

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,681
    Rep Power
    5

    Default Re: Writing a README file

    Well forget about Eclipse, it has nothing to do with what you want to achieve. You want to build this using Java, what additional tool is used on top of that is irrelevant.

    I also want to ask: what does this have to do with a README file???
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 0
    Last Post: 12-15-2012, 01:37 AM
  2. Replies: 1
    Last Post: 08-02-2012, 03:01 AM
  3. Replies: 14
    Last Post: 07-15-2011, 05:22 AM
  4. Replies: 1
    Last Post: 02-27-2010, 01:29 AM
  5. Replies: 3
    Last Post: 05-09-2009, 11:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •