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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DFinnegan

  1. DFinnegan

    Using WShell.run to execute an MSI but path has spaces

    Thanks Tsuji and especially PHV! Both responses were a great help. I have been trying for a while to execute files that had spaces in the path and the Chr(34) pre & post-pends worked! Thanks again PHV! Definitely worth a star. :)
  2. DFinnegan

    Deleting shortcut, if present

    Try this: Dim objFSO Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;) objFSO.DeleteFile(&quot;<insert path>\Mine\*.lnk&quot;) objFSO.DeleteFile(&quot;<insert path>\Mine\*.url&quot;) Set objFSO = Nothing WScript.Quit **If the file is Read Only then you will have to do this...
  3. DFinnegan

    Using WShell.run to execute an MSI but path has spaces

    Oops! Forget the msiexec.exe part. I was trying to start the EXE file which points to an MSI. I am still getting an error when I try to execute the EXE file though: Set oExec = WshShell.Run(UpdPath)
  4. DFinnegan

    Using WShell.run to execute an MSI but path has spaces

    I am trying to use VBScript to execute and MSI (based on some conditions). The problem I am having is that the path to the MSI has spaces in it, so I tried using Chr(32) but I still get an error stating that I am using incorrect command line parameters. How can I pass the full string to the...
  5. DFinnegan

    Computer just Died!!!!!!!!!

    Do you have a Linksys network card? I saw a page where someone else had the same error as you: http://www.asitis.org/archives/000019.html Computer diagnosis is a process of elimination in most cases. Try starting with a bare bones config (i.e. just the video card, CPU, minimal RAM and HD)...
  6. DFinnegan

    Create a collection from a network share

    I was able to solve this via another post in another forum. The key for me was this snipet of code: For Each fld In .RootFolder.SubFolders If Not fld Is Nothing Then Using the drive object, and specifying the drive letter I wanted, I was able to use this code to search my network share...
  7. DFinnegan

    How deep can you nest recursive calls based on FileSystemObject Drive

    What a coincidence. I was working on something very similar and your post helped me solve it. Thanks!
  8. DFinnegan

    Create a collection from a network share

    Hello, I am trying to create a collection from a network share so I can search each folder in the network share for certain files. I have the searching part down if I specify a specific folder name but there are hundreds of folders. I cannot figure out how to use VBScript to create a...

Part and Inventory Search

Back
Top