Is there a way to run a batch file when opening Visual Studio or a project/solution?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2009-09-30T22:24:01Z Indexed on 2010/04/10 2:03 UTC
Read the original article Hit count: 360

I use SUBST to map a common drive for referencing some DLLs. I have been running a batch file in my startup folder to do the mapping, but I'd like to have the drive "gone" when I'm not working in Visual Studio. Is there a way to automatically run command line instructions when opening/closing Visual Studio and/or when opening a project or solution?

Thanks, John

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about batch-file