Author Topic: Current directory  (Read 1918 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Current directory
« on: August 05, 2016, 08:16:25 PM »
I've been having some problems with the CWD being wrong when I use FileOpen (windows open dialog).
It will open to the wrong place.
If I close it and open it again immediately, then it is correct.


I don't have a nice repro case.




I have SyncCurrentDirectory and SetCDWhenSwitchingBuffers set. (Hm, I guess I only need the 2nd option?)


Really, I don't usually care what Slick uses for the CWD, as long as when I do Open, it starts in the same place as the current buffer.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6875
  • Hero Points: 530
Re: Current directory
« Reply #1 on: August 05, 2016, 11:51:46 PM »
When it does the wrong thing, type "cd" on the command line to display the current directory. SlickEdit uses the current directory when opening a file.