Collection of Batch files for everyone to use!

I use this .bat file as soon as my desktop becomes available.
It has a bunch of websites. You can change the .url to whatever you want.
I have 14 sites I start out with, I wonder how many I can add until it crashes.
( keep in mind, 14 instances of IE open ) I wish I knew how to make them all open on 1page and 14tabs.


~Carmine
 

Attachments

  • 5.bat
    5.bat
    745 bytes · Views: 58

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!!!!
I use this .bat file as soon as my desktop becomes available.
It has a bunch of websites. You can change the .url to whatever you want.
I have 14 sites I start out with, I wonder how many I can add until it crashes.
( keep in mind, 14 instances of IE open ) I wish I knew how to make them all open on 1page and 14tabs.


~Carmine

I believe you separate with windows and tabs with an 'enter' key to move everything down one. So it would like this:

start ie explorer avg.com
napster.com
vistax64.com
sevenforums.com
google.com

But I'm not exactly sure.


***EDIT*** Just tried it and it doesn't work. If those are your most visited sites, wouldn't it much easier just to set them as your home page with tabs instead of a batch file separate from IE? I know I'm making batch files that make things easier, but that can be done without a batch :)
 

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 :'(
it seems everything is fine with me but I'm new here on vista please help me if something goes wrong and what am I gonna do with these batch anyway ??:confused:hihi

Nothing will 'go wrong' by using the beta 1.7 batch file, all the batch files I have made are basically a collection of most, if not all, of Vista basic tools. So really, I just made a file that you can access every tool with a number, nothing more. Beta 1.7 fixes a menu issue from the previous post of beta_x86_x64... So please if you will use the 1.7 file.

These batch files just simplify how you get to the tools, they log information so if you do have a problem down the road you can use that to post your system information. Also, it has some networking utilities, clean up tools, and like I said, basic Vista programs. Nothing to worry about here :)
 

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 use this .bat file as soon as my desktop becomes available.
It has a bunch of websites. You can change the .url to whatever you want.
I have 14 sites I start out with, I wonder how many I can add until it crashes.
( keep in mind, 14 instances of IE open ) I wish I knew how to make them all open on 1page and 14tabs.


~Carmine

I believe you separate with windows and tabs with an 'enter' key to move everything down one. So it would like this:

start ie explorer avg.com
napster.com
vistax64.com
sevenforums.com
google.com

But I'm not exactly sure.


***EDIT*** Just tried it and it doesn't work. If those are your most visited sites, wouldn't it much easier just to set them as your home page with tabs instead of a batch file separate from IE? I know I'm making batch files that make things easier, but that can be done without a batch :)

tried that, only 8sites open.
I do use this option when I use IE
 

Attachments

  • Capture.JPG
    Capture.JPG
    150.4 KB · Views: 35

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!!!!
Yeah, its a nice option when you regularly use that many sites :)

UPDATE: IF YOU USE THE DEFRAG BOOT FILES OPTION, PLEASE STOP. I JUST EXPERIENCED AN ISSUE WHILE DOING SO AND DO NOT WANT TO HARM ANYONE ELSES MACHINE. MAYBE IT WAS JUST MY MACHINE, BUT I'M BEING CAUTIOUS.

WORKING ON A NEW FILE NOW.

here it is, sorry to anyone that has experienced any issues with my files. I too, use that option and never had any problems up until yesterday :o
 

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 :'(
Yeah, its a nice option when you regularly use that many sites :)

UPDATE: IF YOU USE THE DEFRAG BOOT FILES OPTION, PLEASE STOP. I JUST EXPERIENCED AN ISSUE WHILE DOING SO AND DO NOT WANT TO HARM ANYONE ELSES MACHINE. MAYBE IT WAS JUST MY MACHINE, BUT I'M BEING CAUTIOUS.

WORKING ON A NEW FILE NOW.

here it is, sorry to anyone that has experienced any issues with my files. I too, use that option and never had any problems up until yesterday :o

You probably should issue a caveat with these commands, that you, and vistax64.com bears no responsibility for the use of this... blah blah. The usual disclaimer.

If your hard drive is active for more than four hours, call a physician.

But seriously, the disclaimer is probably a good thing.
 

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
Yeah, its a nice option when you regularly use that many sites :)

UPDATE: IF YOU USE THE DEFRAG BOOT FILES OPTION, PLEASE STOP. I JUST EXPERIENCED AN ISSUE WHILE DOING SO AND DO NOT WANT TO HARM ANYONE ELSES MACHINE. MAYBE IT WAS JUST MY MACHINE, BUT I'M BEING CAUTIOUS.

WORKING ON A NEW FILE NOW.

here it is, sorry to anyone that has experienced any issues with my files. I too, use that option and never had any problems up until yesterday :o

You probably should issue a caveat with these commands, that you, and vistax64.com bears no responsibility for the use of this... blah blah. The usual disclaimer.

If your hard drive is active for more than four hours, call a physician.

But seriously, the disclaimer is probably a good thing.

Yeah, I was thinking about that earlier. Use at own discretion.
 

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 :'(
Nice I downloaded and will check them out thanks :cool:
 

My Computer

System One

  • Manufacturer/Model
    gateway
    CPU
    intel quad
    Memory
    8 gig
    Graphics card(s)
    nvidia
    Sound Card
    realtek
    Monitor(s) Displays
    19' widescreen
    Screen Resolution
    1440 x 900
    Hard Drives
    581 gb
    Internet Speed
    High speed Comcast cable
Hopefully you like them :)
 

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 :'(
Hey crucial, here's a batch file I use at school - I learned all of this stuff as I made it, so maybe you can learn some useful things from it too.

If you look at the code, I've uncommented the commands that modify the registry (so it's safe for you to run and test out). I can use this at school because they use DeepFreeze on their computers, so no matter what changes you make to the hard drive, upon restart they'll be restored.

What I usually do is compile the .bat file into an .exe using Bat to Exe, I'm pretty sure someone mentioned it a few pages back. Not only does it speed up certain commands, you can give your files a cool icon, lol.

Oh and just incase you don't know this already, when I first started out, I would open the Command Prompt and type 'help' to get a list of common commands. And then to learn the different flags, you can type the command name followed by '/?'. (it's kind of like the 'man' command in linux).

For example, if I wanted to learn more about how to use 'if' statements in my batch files, I would type 'if /?'.

There are some very useful commands that can save you a lot of time. Let's say you wanted a list of every process that's listed in Task Manager, you could open up cmd, cd to the directory you want to work in, type in 'tasklist > tasks.txt' and have the output redirected to a text file with everything formatted neatly.

Sometimes when I'm very bored, I'll do a 'tree /f /a C:\', lol.
 

Attachments

Last edited:

My Computer

System One

  • Manufacturer/Model
    Acer Aspire 5630
    CPU
    Intel Core 2 Duo T5500 1.66GHz 65nm 667MHz FSB 2MB L2
    Motherboard
    Acer Grapevine Intel i945GM Chipset
    Memory
    2x1GB DDR2 333MHz
    Graphics card(s)
    Intel Integrated GMA 950 256MB
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    15.4" WXGA Acer CrystalBrite LCD 16ms
    Screen Resolution
    1280x800
    Hard Drives
    200GB 5400rpm Toshiba MK2035GSS ATA-7, 250GB 7200rpm Maxtor External USB Hard Drive
Oh and I just remembered some other handy batch files I made.
When I used to use Hamachi (a VPN program), Vista sometimes would connect to my emulated Hamachi network card by default instead of my ethernet card and my internet wouldn't work until I went into devmgmt.msc and disabled Hamachi.

I solved this by making a batch file (hamachi.bat) to use devcon.exe to tell me of the status of my Hamachi network driver, and then give me the options to disable it, enable, start hamachi, or exit. Note: This script needs devcon.exe (from Microsoft) and grep.exe to run. grep is a very popular Unix command written to search for text in stdout and return any lines matching that text. Along that, you could specify flags, such as to invert the search, or be case insensitive. Since Windows doesn't have anything equivalent to it, I just download the Linux version compiled for Windows. It's commonly piped (|) from other commands and acts as a filter.

The second batch file gets rid of Windows' cache of all the updates you download (the installation files). I guess you should only use this if you want to free up some space. Note: it removes the history of the update being installed when you look at previously installed updates in Windows Update.

And here's a list I copied from some other website that I've found useful, basically it's variables that you can use in your batch files which can save you time and make your batch files more portable.
Code:
%ALLUSERSPROFILE%      C:\Documents and Settings\All Users
%APPDATA%     C:\Documents and Settings\{username}\Application Data
%COMPUTERNAME%     {computername}
%COMSPEC%     C:\Windows\System32\cmd.exe
%HOMEDRIVE%     C:
%HOMEPATH%     \Documents and Settings\{username}
%PATH%     C:\Windows\System32\;C:\Windows\;C:\Windows\System32\Wbem
%PATHEXT%     .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH
%PROGRAMFILES%     Directory containing program files, usually C:\Program Files
%PROMPT%     Code for current command prompt format. Code is usually $P$G
%SYSTEMDRIVE%     The drive containing the Windows XP root directory, usually C:
%SYSTEMROOT%     The Windows XP root directory, usually C:\Windows
%TEMP% and %TMP%     C:\DOCUME~1\{username}\LOCALS~1\Temp
%USERNAME%     {username}
%USERPROFILE%     C:\Documents and Settings\{username}
%WINDIR%     C:\Windows

%DATE%     Current date in the format determined by the Date command
%TIME%     Current time in the format determined by the Time command
%CD%     Current directory with its full path
%ERRORLEVEL%     Number defining exit status of a previous command or program
%RANDOM%     Random number between 0 and 32767
To try them out, you could open up cmd and type 'echo %date%' or 'echo %userprofile%'.

Oh and if you think you'll be writing more batch scripts in time, I highly recommend downloading Notepad++ (I've linked the latest version from their SourceForge page). It has syntax highlighting for lots of popular programming and scripting languages, like batch, and it makes working with them a lot easier. And it's not much of a RAM-hog; I pretty much use it as a Notepad replacement.
 

Attachments

My Computer

System One

  • Manufacturer/Model
    Acer Aspire 5630
    CPU
    Intel Core 2 Duo T5500 1.66GHz 65nm 667MHz FSB 2MB L2
    Motherboard
    Acer Grapevine Intel i945GM Chipset
    Memory
    2x1GB DDR2 333MHz
    Graphics card(s)
    Intel Integrated GMA 950 256MB
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    15.4" WXGA Acer CrystalBrite LCD 16ms
    Screen Resolution
    1280x800
    Hard Drives
    200GB 5400rpm Toshiba MK2035GSS ATA-7, 250GB 7200rpm Maxtor External USB Hard Drive
Thanks for the huge contribution :)

I almost stopped making them because there was nothing left to make. I had almost every program I could think of into one batch file with its own menus. But thanks for the ideas and help, greatly appreciated :)
 

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 can't remember who posted in here how to make a auto-run flash drive with my batch files on it. But I can post those files here with a how to [ courtesy of original poster of the information ] so people can plug in a flash drive and run those tools. Kind of a neat troubleshooting gadget.
 

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 :'(
Now I'm going to do a small How-To on how to use the autorun feature of these batch files, or any batch file for that matter :)

- Plug in the flash drive you would like to use for autorun and tool use
-> Windows should find it and ask what you want to do...

- Select the Open Folder and View Files option
->If there are any files on the drive you are using, be sure to back them up

- Now go ahead after everything is backed up, delete everything from the flash drive.

- Place the batch file you want to use in the drive, not in a folder, just on the drive.
-> F:\Test.bat

- Now place the attached file to this post - autorun.inf - on the drive also
-> you will need to edit the autorun.inf to your information
-> the label is the name of the flash drive you plugged in - bobs drive
-> the shellexecute is the name of the batch file - make sure its correct

- Now safely remove the flash drive then plug it back in to the computer and it should run the batch file that you dropped on it.

- If it does not run, then safely remove it and plug it in again, you might need to set the auto-run option to run the disk contents. Not sure yet, maybe someone else can chime in on that...
 

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 :'(

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 :'(
check this

Can't run that, I'm using linux...

Is a pendrive installation of Win7?


Thats exactly what i've been trying to do with x64 Vista. But I dont have an actual install dvd,just the recovery sent with the machine. Just wanted another option to boot from to save a crach. I actually stumbled upon a flash drive that is already partitioned with..get this..built in boot files! Google Kaser Flash dvd
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    Core i7 860 Lynnfield
    Motherboard
    Asus P7P55D Deluxe
    Memory
    Corsair XMS 3 PC 1600Mhz
    Graphics card(s)
    ATI Radeon HD 5770
    Sound Card
    Onboard
    Monitor(s) Displays
    LG 2350 Flatron HD
    Screen Resolution
    1920x1080
    Hard Drives
    Barracuda 1Tb
    PSU
    650w Corsair
    Case
    Antec 900
    Cooling
    CoolerMaster Hyper212
    Mouse
    5 button w/speed control
    Keyboard
    yeah,somewhere...
    Internet Speed
    cable modem
    Other Info
    Running a very stable 3.6Ghz @ 8-8-8-24 1.65v
That is just too freaking cool Pacinitaly! You rock. Now...if I were to just drop that onto a flash, I could then boot my system from it,yes?? :)
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    Core i7 860 Lynnfield
    Motherboard
    Asus P7P55D Deluxe
    Memory
    Corsair XMS 3 PC 1600Mhz
    Graphics card(s)
    ATI Radeon HD 5770
    Sound Card
    Onboard
    Monitor(s) Displays
    LG 2350 Flatron HD
    Screen Resolution
    1920x1080
    Hard Drives
    Barracuda 1Tb
    PSU
    650w Corsair
    Case
    Antec 900
    Cooling
    CoolerMaster Hyper212
    Mouse
    5 button w/speed control
    Keyboard
    yeah,somewhere...
    Internet Speed
    cable modem
    Other Info
    Running a very stable 3.6Ghz @ 8-8-8-24 1.65v
Here is a copy of my experiment to autorun a webpage from a memory card.
Use it as an example of how to get a batch file running and how to get a web page running.

View attachment 15779

This was my previous post on the autorun subject;)

This has only been tested on Vista.
 

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
Here is a copy of my experiment to autorun a webpage from a memory card.
Use it as an example of how to get a batch file running and how to get a web page running.

View attachment 15779

This was my previous post on the autorun subject;)

This has only been tested on Vista.


Cool Roy, thanks! Mind if I PM you. Have a quick question.
 

My Computer

System One

  • Manufacturer/Model
    Custom
    CPU
    Core i7 860 Lynnfield
    Motherboard
    Asus P7P55D Deluxe
    Memory
    Corsair XMS 3 PC 1600Mhz
    Graphics card(s)
    ATI Radeon HD 5770
    Sound Card
    Onboard
    Monitor(s) Displays
    LG 2350 Flatron HD
    Screen Resolution
    1920x1080
    Hard Drives
    Barracuda 1Tb
    PSU
    650w Corsair
    Case
    Antec 900
    Cooling
    CoolerMaster Hyper212
    Mouse
    5 button w/speed control
    Keyboard
    yeah,somewhere...
    Internet Speed
    cable modem
    Other Info
    Running a very stable 3.6Ghz @ 8-8-8-24 1.65v
Back
Top