Xshell Forum

How to change folder when xshell starts?

Last post: Wednesday, March 18, 2015 11:00 PM by Support, 5 reply

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

How to change folder when xshell starts?

 
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
Sunday, March 8, 2015 7:47 PM - Support

Re: How to change folder when xshell starts?

 
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
Monday, March 9, 2015 5:24 AM - Shuai

Re: How to change folder when xshell starts?

 
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
Monday, March 9, 2015 6:13 AM - Support

Re: How to change folder when xshell starts?

 
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
Wednesday, March 18, 2015 7:39 AM - Shuai

Re: How to change folder when xshell starts?

 
Confirmed with latest build 0553.

But if possible, please include this as a configurable option instead of using set command.
Wednesday, March 18, 2015 11:00 PM - Support

Re: How to change folder when xshell starts?

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

---
Technical support