Menu

Command line filespec parameter bad path

2007-12-01
2012-11-13
  • Nobody/Anonymous

    Version 4.6

    In an WinXP DOS box command prompt:

    C:\jdk1.5.0_12\source\java\sql>"\Program Files\Notepad++\notepad++.exe" Time.java

    Notepad++ starts up and asks:

    C:\jdk1.5.0_12\source\java\util\Time.java doesn't exist. Create it?

    Silly question:

    1) I didn't start up notepad++ in the "util" subdirectory. I started it in the "sql" sub directory.
    2) The file clearly does exist:

    C:\jdk1.5.0_12\source\java\sql>dir Time.java
    Volume in drive C is DRV3_VOL1
    Directory of C:\jdk1.5.0_12\source\java\sql
    05/02/2007  01:14 AM             6,580 Time.java

    Any ideas on what I'm doing wrong and how to fix?

    Thanks in advance,
    Adam.

     
    • Nobody/Anonymous

      Thank you for taking the time to respond.

      I'm not sure what you are recommending. It sounds like you are recommending that I should "suspect" something. I suspect everything :-)

      I can make it work if I turn off (de-select):

      Preferences - MISC - "Remember the current session for next launch"

      Regards,
      A.

       
      • Nobody/Anonymous

        Turning off or deselecting what is called a checkbox is also called unchecking it.

        Thank you for your response as well. If this behavior is persistent (it appears again when checking the option again and vice versa), this may be enough to know for the developer to solve the problem!

         
    • Nobody/Anonymous

      Well, let me point out that I think the message itself is indeed correct.
      The file doesn't exist in the util folder.

      So the question may only be silly for argument 1.

      I think it would be smart behaviour of yours to suspect that N++ only checks the wrong folder for the file, because, if it would check the right folder, it would have found the file, as your dir command does.