Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Firenight

Ok thanks,

I thought that maybe there is a registry key for default folder.
So I'm going to modify code.

Thanks
martin

If you have you own version of WinSCP, you can change the default in code.
WinSCP uses by default the "my documents" folder of Windows.
Firenight

That's right with standard version :o

However we have modified code to avoid user to create session so we never have session key into our registry, consequently i can't use this method :(

But for the first one session if we put nothing he uses a default directory and i just want to change this one.

When you use your program you should not create a session but just connect and you re place in a local directory. If you see in registry there is no session key at this moment however you ve default directory for local directory.

I know i ve some problems to explain correctly the problem :o)
martin

To change a defaults for sessions, use Set defaults button ion login dialog.
Firenight

Thanks, for trying to help me.

I believe you speak about cygwin, i speak about WinSCP

I'm looking at the adress you give me and it doesn't exist in my registry.

Thanks in advance.
Noah

Re: Default LocalDirectory

Firenight wrote:

Hi,

I've a problem, i want to change my default local directory for all new session i create.

I know i can modify it into session key after create a new session or by indicate it when i create a new session.

But i want to change it for all new session without have to do something during a new session creation.

Thanks in advance for answer.


Edit this registry key on your HOST machine:

HKEY_LOCAL_MACHINE > SOFTWARE > Cygnus Solutions > Cygwin > mounts v2 > /
Name: native | Type: REG_SZ | Data: C:\whatever\path

Cheers.
Firenight

Default LocalDirectory

Hi,

I've a problem, i want to change my default local directory for all new session i create.

I know i can modify it into session key after create a new session or by indicate it when i create a new session.

But i want to change it for all new session without have to do something during a new session creation.

Thanks in advance for answer.