How to change folder when xshell starts? [7]

How to change folder when xshell starts?

Monday, February 23, 2015 5:18 PM - Shuai

This might be a new feature request.

Right now, when xshell starts, it always stay in folder "C:\Users\test\Documents\NetSarang\Xshell\Sessions". Is there a way in configuration options to customize the folder path? Like I would like to have the path set to my downloads folder.

The reason: I sometime needs to compare two text files and I normally save them into downloads. With Xshell, I have to run some CD and DIR commands(with typing in path manually since tab key doesnot help) first to navigate to the proper folder then do the compare with FC.

Program Ver. : Xshell 5


Re: How to change folder when xshell starts?

Sunday, March 8, 2015 7:47 PM - Support

Our team is working on feature that will allow you to set the $HOME directory. Once this feature is implemented, you should be able to set the default directory for Local Shell.

Meanwhile, there is a temporary command that you can use to set the startup folder. Please try the following command on Xshell command line:

set StartFolder=[Path]



---
Technical Support


Re: How to change folder when xshell starts?

Monday, March 9, 2015 5:24 AM - Shuai

Not sure if I did it wrong.

I opened xshell and typed in:

set StartFolder="C:\Users\user\Downloads"

there was no error. I closed xshell and re-opened it but still the same startup folder.

Will this feature be in next release? If so, any ETA?

Thanks,
/S


Re: How to change folder when xshell starts?

Monday, March 9, 2015 6:13 AM - Support

I am sorry about the confusion. I just checked that this feature will be included in the next release. ETA is about 2 weeks.

---
Technical Support


Re: How to change folder when xshell starts?

Wednesday, March 18, 2015 7:39 AM - Shuai

Confirmed with latest build 0553.

But if possible, please include this as a configurable option instead of using set command.


Re: How to change folder when xshell starts?

Wednesday, March 18, 2015 11:00 PM - Support

Definitely! This is going to be part of more powerful local shell for the next major release.

---
Technical support


Re: How to change folder when xshell starts?

Thursday, July 26, 2018 5:01 PM - Mark Phillips

I am evaluating xshell for potential purchase. Was this ever provided as a standard offer. The initial conversation was in 2015, but I am having a hard time finding the option to set the directory on start up.


Re: How to change folder when xshell starts?

Thursday, August 2, 2018 3:09 PM - Support

Do you mean the Local Shell's initial path? If so, yes it can be changed but only via a Local Shell command, not with the UI. Use the following command:

set StartFolder = the/path/you/want

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog


Previous views: 316