Britec Tech Support Forum
How do I use VBScript to open CMD and cd into another directory? - Printable Version

+- Britec Tech Support Forum (https://briteccomputers.co.uk/forum)
+-- Forum: Computer Software (https://briteccomputers.co.uk/forum/forumdisplay.php?fid=56)
+--- Forum: Programming (https://briteccomputers.co.uk/forum/forumdisplay.php?fid=40)
+--- Thread: How do I use VBScript to open CMD and cd into another directory? (/showthread.php?tid=4979)



How do I use VBScript to open CMD and cd into another directory? - system32 - 04-17-2019

Hello

Not entirely sure that this would be possible without a macro, but i'm trying to make a VBScript that will open CMD, which is easy to do but the tricky part for me is how to get the VBScript to cd into another directory. I am trying to cd into a directory to run a Python script because i'm learning about Python and also trying to get better at VBScript too.

If there is anybody who knows how to do this, please let me know, I would really appreciate it.

Thank you for taking the time to read  Smile