Jump to content

gunsmokingman

Super Moderator
  • Posts

    2,296
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gunsmokingman

  1. Your welcome and if you need any more help just post here and I wil try and help.
  2. Here I re did your script, there where a few errors in it look at mine and you will see the differences This is a script I posted a couple of thread below, this list all the files and folder on your hard drives or partitions
  3. All you have to do is change this to suit your needs. If you want to count backward from 66 then start the counter at 66 and change this This is a redit code the counter start at 100 and goes backward, see attach image for the name changes.
  4. Thanks If anyone needs help with this just post here and I will try and help.
  5. Try this, it a HTA that a sfx file to edit extract the hta and use what ever text editor. This use Jscript and VBS script, all it will do is confirm if something been check. All you have to do is change the text displays and add your own scripts to it. Here is the code if you do not want to down load the sfx I have included. Save As Demo_Install.hta Demo_HTAInstallMenu.exe
  6. Try this sfx file on a test folder it will do nothing but show you the name changes. If it does what you want I will change it to rename the files.
  7. Thanks if you have any suggestion for this HTA, I am open to them.
  8. This is a VBS script that renames all the files in the folder with the parent path. This uses a brows for dialog so you can run this script from any where. EG If you had a folder on C:\MyTest then all the files would be named C_MyTest_Filename
  9. That good and congrates to your successfull scripting. Here is a link to a place that taught me alot about VBS scripting. The Hey, Scripting Guy! Here is a link so you can read more about the send key method. SendKeys Method
  10. Your welcome, if there are any suggestion for this please post them. I have fixed the Google link and the link has been updated.This is a new version I have added one more menu that has some of the basic tools for windows. SystemMaintence.exe
  11. I have updated the hta to include a System Defrag and links to the Spyware App main pages.
  12. I format my drives for Vista from XP using the built in tool Windows has.
  13. I have made some minor changes to the hta, the buttons now flash when the mouse hovers over it. The link to it been updated with the changes What this has been updated to. SystemMaintence.exe
  14. Mhz no you are wrong because these if statement are the checks, please read the script before making incorrect statements. The script will only work if that statement is true, this is better then using a send key method as this is not the best method to do this. Now if I took out the first 2 if statements then it would search for strDrive.DriveLetter & Cmd1 on your floppy drive, harddrive, cd or dvd drive. This builds the completed path to the file, which the action uses.
  15. What this script does Checks to see if if CD or DVD drive Checks to see if the CD or DVD has something in it Then it checks for this file "CD_DVD_DRIVE:\Apps\Alcohol120\setup.msi" Then it start the install If it cannot find the file then it waits for you to place the correct Disk in the drive. It will loop 6 times for a total of 60 seconds. Then it self closes. This script can be ran from any where on the local computer. Save as InstallAlcohol120.vbs To edit this vbs script ":\Apps\Alcohol120\setup.msi" change this color text to what you need this change the file it looks for. " /qb /norestart" and change this to what you need I use alcolhol 120 and I use the msi instaed of the exe
  16. This is how I have my reg tweaks in my Cmdlines.txt
  17. 1:\ Does this get copy to %SYSTEMROOT%\SYSTEM32\ChangeRes.cmd 2:\ Does your Video Card support the resolution, and how are you installing drivers for it.
  18. The script is to pin something to the startmenu not create a shortcuts. To make shortcuts uses a different object. CreateObject("Shell.Application") this is different then this CreateObject("WScript.Shell")
  19. Here a vbs script that pin calculator to the start menu Here is a link to Hey, Scripting Guy!, for more information about this.
  20. Try this Save as ChangeRes.cmd Then place that in ...$OEM$\$$\System32\ChangeRes.cmd so it gets copy to there.
  21. I change the screen resolution at the 13 min mark using cmdlines.txt and a batch file. In the UserAcount.cmd I have a this entry, I have change the name of 1365VidChng.exe to this VidChng.exe. I have all of this in my $OEM$ folder. Cmd I use to use VidChng.exe In my Winnt.sif I have this
  22. Be sides the key comment, it seems these 2 members do not know how to help with your question. It simple in you $OEM$ folder you have a text file called cmdlines.txt that get processed at around the 13 minute mark. This is for mostly this HKEY_LOCAL_MACHINE As the other 2 mention remove your key unless you want any one who reads this post to use it. My cmdline.txt
  23. VBS script are better at error catching then cmd scripts.
×
×
  • Create New...