Author Topic: Current directory  (Read 932 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1900
  • Hero Points: 184
  • 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: 5145
  • Hero Points: 425
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.