Thanks for PSPad, it's a really good program.

I often use the program from the command line and have noticed a problem with
where files are saved in single instance mode. 

When pspad is set for one instance and I already have one file being edited,
then I start pspad for a new file from a different directory then save that
file, the file isn't saved in the directory that I invoked pspad from the second
time.  

For example (pspad in path)...
cd c:\proj\test1
pspad test1.txt  (first tab for this new file)
(File..Save.. file saved as c:\proj\test1\test1.txt)
cd c:\proj\test2 (second tab for this new file)
pspad test2.txt
(File..Save.. file saved as c:\proj\test1\test2.txt)

==> File should be saved as c:\proj\test2\test2.txt because c:\proj\test2 was
the invocation directory for the second file and test2.txt being a new file.

I've tried all of the options in Program Settings.. Files and Dirs.. (Remember
Last/Same As Active/Designate) and it will either save the file in the PSPad
directory or the last directory that a save was completed in.

How can I make PSPad when starting from the command line and with a new file
name, save the new file in that tab's current directory?

Thanks!

-- 
<http://forum.pspad.com/read.php?2,48849,48849>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem