I never really use VBScript so I am not sure how I should create on script to control both functions would it be something like:
[QUOTE]
Dim objNet
Set objNet = CreateObject("Wscript.Network")
objNet.MapNetworkDrive "F:", "\\servername\drive"
WSCript.Quit
Set wshObject = Wscript.CreateObject("Wscript.Shell")
desktopFolder = wshObject.SpecialFolders("Desktop")
set myShortcut = wshObject.CreateShortcut(desktopFolder & "\Notepad.lnk")
myShortcut.TargetPath = "%windir%\Notepad.exe"
myShortcut.Save()
end of script
[QUOTE]
How would I compile it. I need to DL a VB editor.
- MilitantEidolon




Reply With Quote