Change the current directoryTag(s): WSH VBScript

' display the current directory
WScript.Echo WshShell.CurrentDirectory

' set the current directory
WshShell.CurrentDirectory = "c:\work"



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]