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 wOOdy-Soft 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

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

    Get size and number of files properties of a folder.

    Hi guys, I am trying to retrieve properties of a folder. I know folder exists, 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 =...
  4. OrionCookies

    how to set refresh rate.

    I like to set refresh rate. I get settings but unable to set it...need little help. here is my so far code. '_______________________________ On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer &...
  5. OrionCookies

    Migrating network printers

    I am trying to migrate printer from old server to new. this script works fine if found no Fully qualified domain name print que. But won't migrate if script find any 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...
  6. OrionCookies

    pass params to run vbscript

    Hi. I'm tring to pass params to run vbscript. for example cscript.exe /nologo L:\Scripts\PassParam.vbs DelFld or cscript.exe /nologo L:\Scripts\PassParam.vbs CrtFld I am getting runtime error:wrong number of arguments. Need help thanks in advance... '*****************here...
  7. 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...
  8. 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.
  9. 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...
  10. OrionCookies

    get property file version in item name of a file

    Hi all, I know i can get file version with get fileversion method. But file version i am trying to get is different than getting fileversion. I mean, if i right click and click on version tab, that version is different than just below under ITEM NAME, there is a file version, ... I am trying to...
  11. OrionCookies

    get username and computername with their first and lastname from AD

    Hi all, I am new to vbscript's world. i am trying to get username and computername with their first and lastname from AD. here is my script =================================== On Error Resume Next Dim strTitle Dim strUserName Dim dtStart Dim objConnection Dim objCommand Dim...
  12. OrionCookies

    PCMCIA.

    I have a script to detect if pcmcia card in the slot or not. But its not working,,,, Need really help on this. or if some one has any example thanks in advance. Dell1300 = "PCI\VEN_14E4&DEV_4320" Dell1350 = "PCI\VEN_14E4&DEV_4320" Dell1370 = "PCI\VEN_14E4&DEV_4318" 'Dell1400 =...
  13. OrionCookies

    How to remove registry

    It might be easy for you folks but I can't figure it out. here is my code: '========================================================= const regkey = "c:\winnt\i3\source\Wireless80211_NAIDesktopFW-WXP-L-P-001\AironetCB21AGCisco" Dim Shell Set Shell = CreateObject("WScript.Shell")...
  14. OrionCookies

    Move computer from one OU to another OU

    New to vbscript, but working through all small detail. I have this script to move computers from one OU to another, and I am getting error "Move computers.vbs(33, 1) Provider: A referral was returned from the server". here is the script: Option Explicit Dim objConnection, objCommand...

Part and Inventory Search

Back
Top