I'm trying to setup a command in Notepad++ that will compile a file but I'm having some problems.

1) Can I set an initial directory for my command to be run from?  (eg. c:\my_program)
2) Can I have my command pause after execution?  (eg. the compiler executes so quickly I cannot even see any errors if they appear)

I'd like to set this functionality on a shortcut so I can just press a button and it will happen...

Can anybody help me out?