Theme:
  

KiTTY : Forum

Last modification : -


Forum Home
 

kscp recognizes kitty.ini only in the current directory

Gerhard Sprenger - Thu 26/04/2012 14:47:36 CEST +0200

Let me say that kitty is a great tool - thanks.

My environment is XP SP 3,
%APPDATA% contains no kitty directory.

When using kscp.exe (newest version 0.62.1.2) it
only recognizes kitty.ini if this file is in the
current directory. Let me demonstrate this.
That's the directory (.../X1) containing KiTTY:

     C:\Temp\X1> dir

     26.04.2012 14:03 .
     26.04.2012 14:03 ..
     26.04.2012 08:42 513.024 kitty.exe
     26.04.2012 14:04 69 kitty.ini
     26.04.2012 08:40 411.648 kscp.exe

And the contents of kitty.ini:

     C:\Temp\X1> type kitty.ini
     [KiTTY]
     savemode=dir
     Folders=Default
     KiPath=C:\Temp\X1\kitty.exe

Now I change the directory to .../X2. It contains no
kitty.ini file (the directory is empty):

     C:\Temp\X2> dir

     26.04.2012 14:08 .
     26.04.2012 14:08 ..

Executing a kscp command from this
directory yields to message
"No ini file":

     C:\Temp\X2> C:\Temp\X1\kscp.exe ...
     No ini file
     The server's host key is not cached in the registry. You
     have no guarantee that the server is the computer you
     think it is.
     The server's rsa2 key fingerprint is:

When I change the current directory to .../X1
(the one with kscp.exe and kitty.ini) and
execute the same kscp command, all works fine:

     C:\Temp\X1> C:\Temp\X1\kscp.exe ...
     The server's host key is not cached in the registry. You
     have no guarantee that the server is the computer you
     think it is.
     The server's rsa2 key fingerprint is:

Is there a (hidden) commanline switch for kscp to tell
it where to search for kitty.ini?

Why does kscp not search for kitty.ini
in the path kscp.exe itself is located?

kitty.exe may be called from any directory to
recognise kitty.ini as long as it's in the
same directory as kitty.exe.

Any help appreciated - Gerhard.





Answer


Currently the forum is closed