Collection of Batch files for everyone to use!

I used microsoft word. It is basically a hyperbook. To do one for yourself is easy. Go to all your websites that you use alot and download the website icon. Start a new document and inport the icons one at a time. Creat a hyperlink for the icon then save the whole document as one webpage compleate.
 

My Computer

System One

  • Manufacturer/Model
    Self Built
    CPU
    I5 3570K
    Motherboard
    Gigabyte Z77-DS3H
    Memory
    4 x 4GB corsair ballistix sport DDR3 1600 Mhz
    Graphics card(s)
    Gigabyte Geforce GTX 660 TI
    Sound Card
    creative x-fi
    Monitor(s) Displays
    Primary CiBox 22" Widescreen LCD ,Secondary Dell 22" Widescreen
    Screen Resolution
    Both 1680 x 1050
    Hard Drives
    2 x 500G HD (SATA) 1 x 2TB USB
    PSU
    Corsair HX 620W ATX2.2 Modular SLI Complient PSU
    Case
    Antec 900 Ultimate Gaming Case
    Cooling
    3 x 80mm tri led front, 120mm side 120mm back, 200mm top
    Mouse
    Technika TKOPTM2
    Keyboard
    Logik
    Internet Speed
    288 / 4000
    Other Info
    Creative Inspire 7.1 T7900 Speakers Trust Graphics Tablet
Hi Crucial!

Would you consider amending this:

:net
title Vista Network Tools...
echo What Would You Like To Do?


to this:

:net
title Vista Network Tools...
cls
echo What Would You Like To Do?
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Mouse
    Dell Optical
    Keyboard
    Dell Quietkey
    Internet Speed
    10 MBPS
Hi Crucial!

Would you consider amending this:

:net
title Vista Network Tools...
echo What Would You Like To Do?


to this:

:net
title Vista Network Tools...
cls
echo What Would You Like To Do?

Hello lemur,

I just patched the file as stated in your above post and as soon as a command is ran, it clears it from the prompt. For instance, I ran wireless signal, it showed it for a split second before it cleared the screen for the choice...

I might patch it like this for each command, this way it requries user interaction before it clears the screen, only problem is, that might be frustrating for someone who uses the arrows to scroll the prompt. There is a clear screen option in that menu.. its number 11.. It just a pain since the information is being displayed in the prompt I can't really cls correctly...

:sig
netsh wlan show interface
pause
goto net

I'll be updating tonight though...

Thanks again!

P.S. lemur, if you find another way around this issue, please feel free to let me know :)
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
Updating now,

There is a read me attached, please read it, it does contain some info about whats new :)

@ roy

I don't have office, only open office, which saves as .html and that didn't work at all for me.

Thanks everyone for everything. This turned out to be bigger than I thought :)

Keep the tips and suggestions coming and I'll keep on updating :)
 

Attachments

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
You could also use a wildcard to empty out the .tmp files like:

@echo off
del /s /q /f C:\Users\%userprofile%\AppData\Local\Temp\*

Also, take a look at powershell. That seems to be where .bat files are heading.
 

My Computer

System One

  • Manufacturer/Model
    Sony Vaio Z46GDU
    CPU
    P9700@2.8GHz w/6MB L2 cache 1066MHz FSB
    Memory
    6GB DDR3 1066MHz SDRAM
    Graphics card(s)
    9300M GS 256MB + Intel Integrated 4500MHD
    Monitor(s) Displays
    13.1" WXGA True Colour Tough
    Screen Resolution
    1600x900
    Hard Drives
    320GB SATA 7200RPM
    Internet Speed
    1MB/s
You could also use a wildcard to empty out the .tmp files like:

@echo off
del /s /q /f C:\Users\%userprofile%\AppData\Local\Temp\*

Also, take a look at powershell. That seems to be where .bat files are heading.

That's kind of what I did, except I believe it would be:

@echo off

del /s /f /q %userprofile%\AppData\Local\Temp\*.*

Correct me if I'm wrong though.
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
Either way. You also need administrator priveleges.
 

My Computer

System One

  • Manufacturer/Model
    Sony Vaio Z46GDU
    CPU
    P9700@2.8GHz w/6MB L2 cache 1066MHz FSB
    Memory
    6GB DDR3 1066MHz SDRAM
    Graphics card(s)
    9300M GS 256MB + Intel Integrated 4500MHD
    Monitor(s) Displays
    13.1" WXGA True Colour Tough
    Screen Resolution
    1600x900
    Hard Drives
    320GB SATA 7200RPM
    Internet Speed
    1MB/s
Correct. Speaking of which, I can't seem to get the 'runas' command to work correctly, because it prompts for a password, when I don't have a password. I was also going to implement that command into the batch so it will always be ran as Administrator but I can't seem to get it...

Should I add a clear the temp option?
Maybe a reboot option after certain commands are performed?
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
Update included in this post. This one has the most options, features, and tools of all the batch files I've made yet. Try it out. Let me know how you guys like it :)

I double checked everything before I uploaded but that doesn't mean I didn't miss something so just let me know, I'll gladly fix it :)

Also, theres 2 pictures in the zip, they are screenshots from CCleaner, displaying the effectiveness of my batch file, check it out.

Enjoy!
 

Attachments

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
I don't think you're going to get the runas to work. Maybe it's a security feature, but it's going to ask for a password. Can't find a way around it.

Do we need winver?
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Mouse
    Dell Optical
    Keyboard
    Dell Quietkey
    Internet Speed
    10 MBPS
Updating now,

There is a read me attached, please read it, it does contain some info about whats new :)

@ roy

I don't have office, only open office, which saves as .html and that didn't work at all for me.

Thanks everyone for everything. This turned out to be bigger than I thought :)

Keep the tips and suggestions coming and I'll keep on updating :)

see pic
 

Attachments

  • Capture.JPG
    Capture.JPG
    81.1 KB · Views: 41
  • Capture2.JPG
    Capture2.JPG
    136 KB · Views: 40

My Computer

System One

  • Manufacturer/Model
    gateway/m6881
    CPU
    centrino core 2 duo 2.2ghz T7500
    Memory
    3GB
    Hard Drives
    500GB WD
    Mouse
    logitech
    Internet Speed
    fios 35MB not!!!!

My Computer

System One

  • Manufacturer/Model
    Sony Vaio Z46GDU
    CPU
    P9700@2.8GHz w/6MB L2 cache 1066MHz FSB
    Memory
    6GB DDR3 1066MHz SDRAM
    Graphics card(s)
    9300M GS 256MB + Intel Integrated 4500MHD
    Monitor(s) Displays
    13.1" WXGA True Colour Tough
    Screen Resolution
    1600x900
    Hard Drives
    320GB SATA 7200RPM
    Internet Speed
    1MB/s
Mine doesn't do that, I checked the code and everything seems fine. The reason it's saying cannot find [.............] is because there aren't any files in the specified directory with a .tmp extension. Also, that batch file should be ran as admin...

As far as the health report not working, I'm clueless, that also works on my machine. Did you download the most recent files? Maybe that will fix it... Trying running the Ultimate Vista Pack as 'Admin' to see if it will generate a report. I'm attaching screenshots from my machine as well...

I might try to update the Temp batch to see if I can make it a little more user friendly without making it too dangerous to the system's integrity.

Thanks for pointing this out though.
 

Attachments

  • ClearTemps.JPG
    ClearTemps.JPG
    91.6 KB · Views: 32
  • Report Sho.JPG
    Report Sho.JPG
    59.2 KB · Views: 26

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(

My Computer

System One

  • Manufacturer/Model
    gateway/m6881
    CPU
    centrino core 2 duo 2.2ghz T7500
    Memory
    3GB
    Hard Drives
    500GB WD
    Mouse
    logitech
    Internet Speed
    fios 35MB not!!!!
Mine doesn't do that, I checked the code and everything seems fine. The reason it's saying cannot find [.............] is because there aren't any files in the specified directory with a .tmp extension. Also, that batch file should be ran as admin...

As far as the health report not working, I'm clueless, that also works on my machine. Did you download the most recent files? Maybe that will fix it... Trying running the Ultimate Vista Pack as 'Admin' to see if it will generate a report. I'm attaching screenshots from my machine as well...

I might try to update the Temp batch to see if I can make it a little more user friendly without making it too dangerous to the system's integrity.

Thanks for pointing this out though.


your files are fine, it was me not choosing admin.
I gave up trying to gen a health report


thanks CrucialHoax +1
 

My Computer

System One

  • Manufacturer/Model
    gateway/m6881
    CPU
    centrino core 2 duo 2.2ghz T7500
    Memory
    3GB
    Hard Drives
    500GB WD
    Mouse
    logitech
    Internet Speed
    fios 35MB not!!!!
Try doing it manually..

Go to control panel, performance information and tools, advanced tools, the click generate a health report.

That is really odd that it wont create one...

Try this one :)
 

Attachments

Last edited:

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
Try doing it manually..

Go to control panel, performance information and tools, advanced tools, the click generate a health report.

That is really odd that it wont create one...

Try this one :)

perfmon /report
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Mouse
    Dell Optical
    Keyboard
    Dell Quietkey
    Internet Speed
    10 MBPS
Weird thing is, thats whats in the batch... Its:

:perf
start perfmon.exe /report
goto vista

I can't figure out why it wouldnt work for him..

disregard the smiley at the command lol
 

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(
I'm updating in this post becuase i found an error in the Ultimate batch in which it ownt clear the dns cache, I was tired and wrote cleardns not flush dns. It also wont display the advanced network settings. I make a lot of typo's it seems. Well, anyways, here it is.

Thanks :)
 

Attachments

Last edited:

My Computer

System One

  • Manufacturer/Model
    HP
    CPU
    Intel Neo
    Memory
    2GB
    Graphics card(s)
    Intergrated Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    10.1
    Screen Resolution
    1280 x 800
    Hard Drives
    160GB
    PSU
    Power Adapter
    Case
    It's special, it flips open :)
    Mouse
    Touchpad
    Keyboard
    Acer
    Internet Speed
    Down: 16mb/s Up: 1.6mb/s
    Other Info
    I killed my HP Laptop :'(

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    AMD AM2 6000+
    Motherboard
    Nvidia M2N-E SLI
    Graphics card(s)
    GeForce 7600GT
    Screen Resolution
    1280x1024
    Hard Drives
    WD
    Case
    Cooler Master
    Cooling
    Three fans
    Mouse
    Dell Optical
    Keyboard
    Dell Quietkey
    Internet Speed
    10 MBPS
Back
Top