Jump to content

gunsmokingman

Super Moderator
  • Posts

    2,296
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gunsmokingman

  1. Hey, Scripting Guys. How Can I Determine the Local Path to a Shared Folder? This is using VBS script there are more script there that may help you do what you need.
  2. If you have added IE7 to your install then that breaks the runonce function with this file iernonce.dll I just used the iernonce.dll that comes with IE6 to fix this problem. Here is a link to another thread where I posted a fix for this problem. Thread
  3. Here is another way to get the last character using VBS script. This collect all the files where this script is located Then it uses the InStr to filter out text files Then it returns the last character of the file.
  4. I do not know if this will help you but here a script that list all the SID and the User Name, this is set to run on the Local Machine. Notes If you want a good tool to help you generate Code for WMI then use this Microsoft App to help you Wmi Code Creator
  5. Here are some links to using the runas cmd. Msn Search Results Run As Scripted Example Of Runas Runas Switches
  6. Have you tried this cmd This is what Vista displays with the above cmd
  7. You could try a script like this.
  8. gunsmokingman

    sctipt

    Here a quick Example of how you could do what you want it to.
  9. gunsmokingman

    sctipt

    I do not know if this is what you wanted but read this Link
  10. Sorry for bringing up a old post, but I notice that I have had over 600 dl of my Makecab, I would like to Thank everyone who has downloaded this. So I have updated that app and have added a Expand cmd to it. So you can now you can just extract MakeCab files also with this app. Thanks Gunsmokingman Vb.net need to be installed Updated Application Source Code
  11. Here is a Hta that list all the process running, you can kill any process that it lists. This refreshen itself every 300 of a second, so it always is updating it display. Save As ListProcess.hta
  12. This line runs the script the use of Chr(34) is to add quotes to take out spaces, now I have no way of testing this on any other langauge other then english. The other thing to note is that all the services needed for updates can not be disable as this uses that object. Runs The HTA This returns the path to the user desktop, it might be different for other langauges. geezery, I will change the desktop varible I use to what you posted, thanks.
  13. I could modified the script to install the updates, that is not a problem. I wrote it to intergrate the updates into a UaCD or UaDVD. The advantage my script has over yours tool. It can be ran from anywhere on the computer. It does not require all the updates to be in one folder as it searches all folders on the hard drives looking for the KB's. If I wanted to install the updates then the script could be modified to run against a machine on the network. Here is a script that produces a HTA that will list all installed updates and ones that are not installed, it produces a HTA for you to read. I will in later versions of this script have it download and install the updates silent. This is a SFX that acts like a exe, so the script gets deleted, if you want to read the source code just extract the script to read it. Change the varible for the desktop, to what geezery posted. Rpt_Updates.exe
  14. I use the default defrag on Vista works fine I havnt had any problems using it. This is the script I use, it clears the recent folder, user temp then defrag all drives. Save as SysMaintence.vbs
  15. Have you thought of trying a VBS Script to make the shortcut on The AllUserDesktop. This will make a Shortcut on The AlllUserDesktop to Notepad. Save As SC_AllUserDeskTop.vbs If you wanted this to run showing a cmd window Save As Comspec_SCAllUDesk.vbs
  16. Here is a VBS script that will creare a shortcut of Calc in the QuickLaunch Folder. Save as Add_Calc_QL.vbs This is for those who want to use a cmd promt Save as Add_Calc_QL.cmd
  17. If you want to change the name of what on the Boot menu then read this Thread Here is a HTA, that I made into a SFX file so it act like a exe. This will change what appears on the Boot Menu. ChangeVistaBoot.exe
  18. I have wrote a VBS Script that ment to add your Updates to your XPCD. All you need is a XPCD directory and the Updates to add to the XPCD. The Updates can be in any place on the local hard drive or partitions, the script does not need to be in the same folder as the updates.
  19. Here use this Link it has a lot of VBS script templates for using VBS Script and Excel.
  20. On Vista the tabs would not line up correct. So I just used the space to line them up.
  21. Here is a shorter version of the above script.
  22. Try this Link to see if it will help you.
  23. It the Quotes it not going to read the line right. Maybe try it this way, I might be wrong as Cmd Promt is not my best langauge
  24. I do not know if this is what you wanted, but here is a VBS script that creates a shortcut on your desktop that opens My Computer. Save As Link_MyComputer.vbs
  25. In my example I did add the Chr(34) for the quotes.
×
×
  • Create New...