Local Directory change error in script

Advertisement

Guest
Guest

Local Directory change error in script

I've had a script working fine using the default local directory. However, when I add the command "lcd d:\<path1>" to my script I keep on getting "Error changing director to 'd:\<path1>'
The new directory is needed due to space errors.

Thanks.

Joe G.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Local Directory change error in script

I do not understand the following:

Guest wrote:

The new directory is needed due to space errors.

Reply with quote

Guest
Guest

Re: Local Directory Change

Due to the space on the local drive where WinSCP is running, the script needs to change to a different directory. When I add the line to the script to change the local directory, I get "Error in changing directory" message.

Thanks again.

Joe Gallenstein

Reply with quote

martin
Site Admin
martin avatar

Re: Local Directory Change

You should be able to change the directory from WinSCP console as long as you are able to make it working directory from other applications. Are you?

Reply with quote

Guest
Guest

Re: Local Directory Change

Problem was due to restricted rights on the local directory the script was chaning to. Problem was corrected after permissions updated.

Thanks.

Joe

Reply with quote

Advertisement

You can post new topics in this forum