0

The command

cd %SOME_DIR%

in Far console changes current directory.

But executing the same command in batch script from Far does nothing. Is it possible to switch directory using batch script in Far?

Артур Гудиев
  • 1,004
  • 2
  • 10
  • 26

1 Answers1

2

Far manager runs a batch script (.bat) in a child process and cd command only modifies the environment of the current process. It can't touch the environment of the parent.

JosefZ
  • 28,460
  • 5
  • 44
  • 83