> For #2, the right code for the desktop/task-bar shortcut is exactly this: > emacsclientw.exe -na runemacs.exe -c > This shortcut will start emacs from scratch if it's not running, and open a > new > frame if it is. > The -c is key: without it, you have to pass a file to open (even if it's "", > which > does work but is uglier) or emacsclient will exit with an error. > (Right-click on desktop, New Shortcut, etc., then drag the shortcut into > taskbar if you want.)
Instead of using the -a option to emacsclient, I set the environment variable ALTERNATE_EDITOR. This makes it much easier to run emacsclient from the command line. Best regards Franz