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 IamaSherpa 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. smcc12

    Print variable

    <Programs> <Program> <Folder>00000</Folder> <File>keyAcc.vbs</File> </Program> </Programs>
  2. smcc12

    Print variable

    Below is the code I am using. It works fine for the first Write-Host, and the folder name prints. In the second Write-Host, for both $item.Folder and $item.File it prints System.Xml.XmlElement instead of the variable. What am I doing wrong? if (Test-Path "D:\Desktop\integrityCheck.xml"){...
  3. smcc12

    Search for file containing string

    Hello, a program creates logs and calls them LogFile_102010 where the end of the file is the date. The LogFile_ part is the same on the files. I need to search C:\Documents and Settings and subsequent directories for these files and move them. How can this be done with Vbscript? Thanks.
  4. smcc12

    Change icon of folder with script

    Thank you very much, this is exactly what I needed.
  5. smcc12

    Change icon of folder with script

    I am looking for a way to change folder icons using vbscript.. any help appreciated. I found this script to change file icons.. but how would it work for folders? Const DESKTOP = &H10& Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.NameSpace(DESKTOP) Set...
  6. smcc12

    Set program defaults using VBScript

    Solved: fext = "ifc" prgid = "IFC File" des = "IFC File" extanm = "c:\Program Files\Microsoft Experience Pack for Windows Vista\Ink Flash Cards\InkFlashCards.exe" Set o = CreateObject("WScript.Shell") o.regwrite "HKCR\." + fext + "\" , prgid , "REG_SZ" o.regwrite "HKCR\" + prgid + "\", des ...
  7. smcc12

    Set program defaults using VBScript

    Hello, I am trying to associate all .ifc file extensions with an executable in my program files. It needs to be done with VBScript, anybody know how? I've tried doing it manually, then going into the registry and exporting some keys for it but maybe im getting the wrong ones or there's more to...
  8. smcc12

    Add location to indexing service with script

    Sorry, wrong section. Could this be deleted?
  9. smcc12

    Add location to indexing service

    I am trying to add the D: drive as an indexed location and it needs to be done on many computers. Is there an easy way to accomplish this using VBScript? Thanks in advance.
  10. smcc12

    Add location to indexing service with script

    I am trying to add the D: drive as an indexed location and it needs to be done on many computers. Is there an easy way to accomplish this using VBScript? Thanks in advance.
  11. smcc12

    Execute file using compatibility mode

    I am trying to execute a .exe file using Windows XP (SP2) compatibility mode, using VBScript. OS is Microsoft Vista Enterprise.
  12. smcc12

    Suppressing Open File - Security Warning

    I have a tool written in Vb.NET that installs additional languages on Vista Enterprise x64. The user chooses a language, then clicks a button and it copies the language executable down to their machine from a network server and then executes it. When the program executes, it brings up "Open File...
  13. smcc12

    Populate ComboBox from a .ini file

    I've read a lot on this forum about XML files being a better way to go, any ideas on how to accomplish the same thing through that?
  14. smcc12

    Populate ComboBox from a .ini file

    Hello, I am trying to create a VB.NET application and I am new at it. I've got a combo box that will drop down and display about 30 options. There is one button and when the user clicks it, it will shoot off the .exe for the option they selected. I am wondering if it is possible to populate...
  15. smcc12

    Passing a parameter to a subroutine

    Hello, I am trying to have an email send if it can't find a file. I have the subroutine to check the file, then if it can't find it I have: Call emailReport(filename) (filename being the variable of the file that's missing) Then in my email subroutine: Sub emailReport(filename) ...code...
  16. smcc12

    Parse ScriptFullName to check the location..

    Thanks guys, that did it.
  17. smcc12

    Parse ScriptFullName to check the location..

    I am trying to write a check into a script that makes sure the file is being run from a specific location. Let's say the script is located at //candy/gum/scripts/Patch.vbs I want to parse the ScriptFullName using / as a delimiter and making sure "candy" (the server the script is on) is in it...

Part and Inventory Search

Back
Top