Jump to content

gunsmokingman

Super Moderator
  • Posts

    2,296
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gunsmokingman

  1. Here is a VBS script that uses WMI to check for the volume name Edit The Array to Suite Your Needs. Blue Text Is Where You Add The Volume Name And The Varible Name In The Check Green Text Are The Checks For The Volume Name The Varible Name RomVol = objcolRom.VolumeName Red Text Are The error Controls More Information, MSDN
  2. Approx 45 to 60 minutes to install Vista 5219 on the last build it took from approx 60 to 90 minutes. Amd 1.7 512 ram 128 mb Ati card I started my install from a desktop after copying the entire contents, to a folder on my harddrive. It could be a bad copy of Vista or a bad burn, that causing the issue you are having.
  3. Here A Vbs Script that checks to see if the CD or DVD drive has a disk in it. If a disk is in the drive then it popup a message with some basic info. If there is not a disk in the CD or DVD drive it popup a message that it missing.
  4. Here is a VBS file that check only for CD Or DVD drive This can be modified to suit your needs. I have left it as generic as possible. This checks to see if a disk is in the CD DVD if it is a popup confirms it If the drive is empty it popup a missing message Green Text Are Comments And Do Not affect The script Other things that can be check using this, there is more to this class but the editor I use is a free version and does not give all it can list. strDrive.VolumeName strDrive.FileSystem strDrive.RootFolder strDrive.DriveLetter strDrive.IsReady strDrive.ShareName strDrive.DriveType
  5. Here is a vbs script that changes the location of the music folder It uses a brows for dialog to select the folder where you would like it to be.
  6. It is kinda of a problem in vbs because as I understand it you must create the task then delete the task. You would have to do this for each task. The loop you could add I believe a way to handle errors Here is a example of what I mean Here Is Another Example
  7. Your Welcome, I am glad it works.
  8. The Task schedule seems very hard to do. You have to create the task then delete the task to recreate the task to do what you want. This is my understanding on what I have read about it. Martin would it not be better to start the script as soon as some one logs on. Then you could leave it in a loop that does not end. This loop would keep going because there is no -1 The share folder I have no way of testing that.
  9. yes it seems stable
  10. This is a vbs file that makes a folder based on date, if there is a folder there name with the current date it then makes a folder based on hour minutes and seconds.
  11. I do not know if this will help but here is a script that checks for the name of the Network Card using a WMI in a vbs script. This has my and your cards name in the array. This script also run a check for working and not working devices and then makes a txt file that list the results. Blue Text Is The Array For The Network Cards.
  12. Connect site is where I get mine from.
  13. Send me the info needed and I will try and do it. Gsm
  14. Hey Martin go to this web page it explains all the varibles for this script Hey Script Guys Go to this web page for the varibles and stuff for this script.Hey Script Guys
  15. I could not get your script to work on my computer, so I re wrote it. It only confirms what type of computer now.
  16. Here a script that will add a user account. User Accounts Here the tread on it, this may help The Thread
  17. Since you could not figure it out, The first one is the simple one, but it will not work on XP SP2 that why there the second one. If you need more information here is the web page I found the script from, How Can I Delete a Folder and All Its Subfolders?
  18. Here is a nice simple VBS script that should do what you want. I have it set to just popup a message. This is for XP without ServicePack 2 Red Text Are Popups that can be removed from the script Green Text Remove The ' From Before The text to make active Example As Active Set objWMIService = GetObject("winmgmts: \\" & strComputer & "\root\cimv2") Set colFolders = objWMIService.ExecQuery("Select * from Win32_Directory where Name = '" & All_Up & "'") For Each objFolder in colFolders errResults = objFolder.Delete Next This Is for XP with Service Pack 2 Installed, the above script will notwork on XP SP2. There was some changes to the WMI class This script works I have left it with comments lines in it plus a test
  19. Here is the components section i use for my winnt.sif on sp2 some of these have change, but I have not had any problems using these.
  20. You may of did a bad burn, Re Burn the dvd at a slower speed. Also it could be your copy, it might be bad.
  21. Send me a example of what you need done, I will try and get it to work. That was just a guess at what you wanted, I am not sure what you need next.
  22. Here is a little Hta app I made that changes User Name, Company Name, And Computer Name. Change Info
×
×
  • Create New...