Topic "Default LocalDirectory"

Author Message
Firenight

Guest


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.
Advertisements
Noah

Guest


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

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
To change a defaults for sessions, use Set defaults button ion login dialog.
_________________
Martin Prikryl
Firenight

Guest


That's right with standard version Surprised

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 Sad

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 Surprised)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Firenight

Guest


Ok thanks,

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

Thanks
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License