How to get the current path using VBScript

To get the current path using VBScript you can use the snippet below.

Samples

VBScript Sample

If you have any questions or suggestions feel free to rate this snippet, post a comment or Contact Us via Email.

Related links:

Please rate this snippet

How to open cd rom drives in VBScript

To open cd rom drives in VBScript you can use the following snippet.

Sample VBScript

Set wmPlayer = CreateObject("WMPlayer.OCX.7" )
Set colDrives = wmPlayer.cdromCollection

if colDrives.Count >= 1 then
        For i = 0 to colDrives.Count - 1
			colDrives.Item(i).Eject
        Next
End If

Please rate this snippet