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. OrionCookies

    LDAP Query to put computer name

    Hi Cluless, would you please put in right format, i am getting some syntax error.. thanks
  2. OrionCookies

    LDAP Query to put computer name

    anyone ...thanks for help in advance
  3. OrionCookies

    LDAP Query to put computer name

    So i have list of full user name (like Bill gates) under c:\TEMP\DisplayName.txt. it reads the Display name and verify with AD and get username. results with csv file. Now is there way to include computer name in there too. I got this vbscript, but couldn't be able to computer name out. need...
  4. OrionCookies

    get folder size

    ahhhhhhh.... one of my mistake....thanks guitarzan
  5. OrionCookies

    get folder size

    Hi, I have script to get total size of the folder. it works fine if the size of folder is under 2G, but if over 2g, i am getting Overflow: 'of.size' error. Here is my code. '============================================== dim FSO, objFolder,datafolder, foldername foldername = "c:\Data" Set...
  6. OrionCookies

    Get size and number of files properties of a folder.

    ok found the issues and resolve size properties. but my files property still doesn't work it says wrong number of argument or invalid property assignment
  7. OrionCookies

    Get size and number of files properties of a folder.

    ...but i am getting path not found on line 13 and 14 where it mentioned to retrieve size and files. here is the code...thanks for help in advance. **************************************************** Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder =...
  8. OrionCookies

    how to set refresh rate.

    thanks EBGreen for reply. I had tried to capture, but unsuccess...does anyone know what registry key setup default refresh rate? thanks.
  9. OrionCookies

    how to set refresh rate.

    ANYONE???? Thanks in Advance...
  10. OrionCookies

    how to set refresh rate.

    ..._ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * from Win32_DisplayControllerConfiguration") For Each objItem in colItems Dim refreshm, refresht refresht = 60 refreshm = objItem.RefreshRate...
  11. OrionCookies

    Migrating network printers

    ...FQDN. So, if ECHO objPrinter.Name, and printer has FQDN name, it won't echo me back. is there any way i can read FQDN name of the printer... '**************************************************************** strComputer = "." Set objNetwork = WScript.CreateObject("WScript.Network") Set...
  12. OrionCookies

    pass params to run vbscript

    Excellent, thanks to everyone for help....
  13. OrionCookies

    pass params to run vbscript

    anyone???
  14. OrionCookies

    pass params to run vbscript

    Thanks EBGreen, if I commet out variable sstring = string i am getting this error..... Microsoft VBScript compilation error: Expected ')'
  15. OrionCookies

    pass params to run vbscript

    ...cscript.exe /nologo L:\Scripts\PassParam.vbs CrtFld I am getting runtime error:wrong number of arguments. Need help thanks in advance... '*****************here is my code dim filespec, DirSpec, sstring sstring = string DirSpec = "c:\temp\test" filespec = "c:\temp\test.tst"...
  16. OrionCookies

    start processes as a system in vbscript

    xwb: thanks for your reply...system means local system... it doesn't required password or login... as psexec.exe -s would do it...the problem is it creates a service when you run call Psexesvc...and thats cauing problem..but i had figure it out... IF I run Psexec.exe -s -d....it won't create...
  17. OrionCookies

    start processes as a system in vbscript

    Hi, I am trying to package one software. and it required P95tray.exe processes to run as system. So, is there any way i can start processes as system. I know i can see Psexec.exe, but i like to set in vbscript. thanks in advance...
  18. OrionCookies

    check status of Cisco VPN client in vbscript.

    ...Dim strComputer strComputer = "." Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colClass = objWMI.ExecQuery("Select * from Win32_NetworkConnection",,48) On Error Resume Next For Each objClass in colClass WScript.Echo "DisplayType: " & objClass.discription Next...
  19. OrionCookies

    check status of Cisco VPN client in vbscript.

    Is there any way to check connection status of Cisco VPN Client to see if it is connected or disconnected. I am using XP SP2.
  20. OrionCookies

    how to find if service exists.

    Hi, simple question for you guys. trying to find way to get if service exists, supposely, service name :EventLog thanks in advance...

Part and Inventory Search

Back
Top