Using cmd on Windows, it is easy to assign a drive letter to a UNC path with pushd: C:\\Windo开发者_开发技巧ws\\> pushd \\\\server\\share\\path
I\'m using VBScript, and my goal is to be able to substitute a drive letter for a path of my choosing.I need the D drive, and if it\'s not available I need to check if it\'s already mapped to the righ
My TFS workspace is at C:\\Users\\...\\MyProject, which I have mapped to X:\\ using Windows subst command. In my Visual Studio 2010 solutions, this works fine for most of the projects. Only 2 of them
Is there anyway this code can be refactored? The only difference is the order by part. Idealy I\'d like to use a delegate/lambda expression so the code is reusable but I don\'t know how to conditiona