Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. utilman

    Get MAC address from IP and hiode CMD

    If I change the function to one of the bellow codes, the script will tell me that I'm connected to all 3 VLAN's. MAC-address comparison is not correct I think. Don't see the problem. Function GetMac(ip) 'Begin GetMac function 'Set WshExec = WshShell.Exec("ping -n 4 -w 1000 " & ip) 'Run...
  2. utilman

    Get MAC address from IP and hiode CMD

    The BGinfo.exe screens are not visible, but the ping/arp commands generate the CMD screen. I want to hide those. But when I change to WshShell.Exec to WshShell.Run the script is not working any longer..
  3. utilman

    Get MAC address from IP and hiode CMD

    Hi, This code works for me. Only the CMD windows are visible. Does somebody nows how to hide these? Thx Mickey On error Resume Next Set WshNetwork = WScript.CreateObject("WScript.Network") Set WshShell = WScript.CreateObject("WScript.Shell") Set WshProcessEnvironment =...
  4. utilman

    Retreive IP from tracert and action of certain IP exists

    So line code below, only than with a tracert command. Does anyone know how? strTarget = "192.168.1.1" 'IP address or hostname Set WshShell = CreateObject("WScript.Shell") PINGFlag = Not CBool(WshShell.run("ping -n 1 " & strTarget,0,True)) If PINGFlag = True Then MsgBox...
  5. utilman

    Retreive IP from tracert and action of certain IP exists

    Wat I would like to do is retreive IP's from a tracert command, and if a certain IP exists in all IP's change the desktop color. We have 3 exact the same virtual server networks, only difference is a certain interconnect IP on a extra firewall (source ip on firewall). IP is pingable from alle 3...
  6. utilman

    HELP!!! My Netsceen GT5 Formware got corrupted

    Can someone please send me the most updated 5GT en 50 firmware? utilman@gmail.com THX !!
  7. utilman

    How can I let visio show all dimensions

    Is there a way to let visio show all dimensions of all walls I draw in a certain drawing? Not visio only shows the dimension when I select the wall.
  8. utilman

    Add My Documents desktop icon

    Or use somthing like this: 'RESTORE DEFAULT DESKTOP ICONS Set WshShell = CreateObject ("WScript.Shell") ' HIDDEN OR VISIBLE ' 1 = HIDDEN ' 0 = VISIBLE ' My Documents: "{450D8FBA-AD25-11D0-98A8-0800361B1103}" ' My Computer: "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" ' My Network Places...
  9. utilman

    Robocopy with progress bar

    Hi guys... My question is if someone has an idea how I can get een (graphical) progress bar when using robocopy to copy a large amount of files. I know a lot of people use this tool, and are missing this option. I hope someone can help us all out here..
  10. utilman

    Save as "MHT"

    this code should do it dim message, conf, stream set message = CreateObject("CDO.Message") set conf = CreateObject("CDO.Configuration") set message.Configuration = conf message.CreateMHTMLBody "http://www.nu.nl" set stream = message.GetStream() stream.SaveToFile "nu-nl.mht"
  11. utilman

    Sending content of webpage (url) as HTML email

    thx tsuji.. made the following code: Dim oName, ODomain, oMyIP, oTo ' Get the computer name Set WshNetwork = CreateObject("WScript.Network") oName = WshNetwork.ComputerName ' Set the company specific information ' Company Internet Domain Name ODomain = "my.domain" ' Set the SMTP server IP...
  12. utilman

    Sending content of webpage (url) as HTML email

    Does someone have a code that sends the content of a certain webpage/url as a html email automatically? I have a script that sends an attachment automatically, but I cannot figure out how to send any html content of a certain url.
  13. utilman

    Mapping drives to a different domian using vbscript

    Try something like this: StrDomain = "domain.com" set net = createObject("wscript.network") Struser = net.username DispUserInWhichGroup() Function DispUserInWhichGroup() On error resume next Dim Group Dim User Set User = GetObject("WinNT://" & strDomain & "/" & strUser & ",user") For Each...
  14. utilman

    CONFIGURE OUTLOOK PROFILE VBSCRIPT

    Nice script SIPIN :) However, it crashes on line 33: AddReg
  15. utilman

    Sort Start Menu and Favorites in Alphabetical Order

    Where can I find all the sendkey option anyway. And is there a program which can record those commands ??
  16. utilman

    Sort Start Menu and Favorites in Alphabetical Order

    I was more or less thinking of the sendkey function with 1. Windows key 2. All Programs 3. Right mouse 4. Sort on name But since I do not know alle the right sendkey commands, I thought that maybe someone else knew ;) Do you ??
  17. utilman

    Sort Start Menu and Favorites in Alphabetical Order

    I know. And I can't do this with RegDelete so I have a different code for this. However, this only works after you restart your computer or maybe login again. I'm looking for a way to do this on the fly. So without a logoff and login... Const HKEY_CLASSES_ROOT = &H80000000 Const...
  18. utilman

    Sort Start Menu and Favorites in Alphabetical Order

    Thx for the reply tsuji ! But I'm looking for a way to build that function in VBS so I can let it run while users logging in. Do you know the code for this? Can remember that I saw it once with some sendkey commands. A shame that deleting certain registry keys is not enough anymore ;)
  19. utilman

    Sort Start Menu and Favorites in Alphabetical Order

    Does some know some code to Sort Start Menu and Favorites in Alphabetical Order on the fly (sendkey or something like that) ?
  20. utilman

    a script to delete a registry key

    Try this to remove all subkeys too: Const HKEY_CLASSES_ROOT = &H80000000 Const HKEY_CURRENT_USER = &H80000001 Const HKEY_LOCAL_MACHINE = &H80000002 Const HKEY_USERS = &H80000003 ' Object used to get StdRegProv Namespace Set wmiLocator = CreateObject("WbemScripting.SWbemLocator") '...

Part and Inventory Search

Back
Top