增加重定向目录功能脚本
diff --git a/setup.py b/setup.py
index a49c273..7f9fce5 100644
--- a/setup.py
+++ b/setup.py
@@ -27,5 +27,6 @@
     author = 'Cheng Tang',
     author_email = 'cashtang@gmail.com',
     platforms=['All'],
+    scripts=['vcprojred.py'],
     packages=['tcutils']
     )
\ No newline at end of file
diff --git a/tcutils/vcprojred.py b/tcutils/vcprojred.py
index 1eba84d..7304160 100644
--- a/tcutils/vcprojred.py
+++ b/tcutils/vcprojred.py
@@ -26,6 +26,7 @@
             sys.exit(exitcode)

                 

     def _run_dir(self,soludir):

+        soludir = os.path.realpath(soludir)

         if not os.path.isdir(soludir):

             self.error(u"解决方案路径不存在")

         self._check_dir(soludir)

diff --git a/vcprojred.py b/vcprojred.py
new file mode 100644
index 0000000..7133d73
--- /dev/null
+++ b/vcprojred.py
@@ -0,0 +1,7 @@
+# -*- coding: utf-8 -*-

+from tcutils.vcprojred import vcprojred

+import sys

+

+if __name__ == "__main__":

+    red = vcprojred()

+    red.run(sys.argv)
\ No newline at end of file