I'm trying to create a snapin that will send me a message so I know when the PC is ready.

Here is the batch file that I'm using to try to get a delay, then send a message to my PC.

If i run the batch file it does work, but if i try it as a snapin I don't recieve the message.

Any advice would be appreciated.


Code:
PING 127.0.0.1 -n 301

msg /server:PC-NAME * Completed installing software on %computername%.