[csharp]
OpenFileDialog fd = new OpenFileDialog();
fd.InitialDirectory = Path.GetFullPath(Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
fd.ShowDialog();
MessageBox.Show(fd.FileName); // show the selected File path
[/csharp]
[csharp]
OpenFileDialog fd = new OpenFileDialog();
fd.InitialDirectory = Path.GetFullPath(Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
fd.ShowDialog();
MessageBox.Show(fd.FileName); // show the selected File path
[/csharp]
To extract all .zip files in the specified directory and make a new folder in the current directory for the extract that has the same name as the .zip file:
Create a new C# Console Application in Visual Studio and compile the code. Copy the compiled .exe file to the directory containing the .vbs scripts you want to run in sequence.