Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Writing batch files?
New Posts  All Forums:Forum Nav:

Writing batch files?

post #1 of 6
Thread Starter 
I am starting to learn on writing batch files, nothing too complex, just simple ones for now, But I am wanting to expand my knowledge on this and was wanting to know who else here writes batch files and how did they learn it?

No I am not doing anything "illegal"
Collecting Dust
(13 items)
 
Server
(9 items)
 
 
CPUMotherboardGraphicsRAM
E8400 3.0ghz OC @ 3.8GHz @ 1.36v DFI BLood Iron P35 none OCZ 2x 2gb DDR2 800 CAS @ 5-6-6-21 
Hard DriveOptical DriveOSMonitor
none none loonix ssh is my monitor 
KeyboardPowerCaseMouse
none Corsair 650 watts old pc case Logitech mx518 
Mouse Pad
none! 
CPUMotherboardGraphicsRAM
AMD Athlon 64 X2 Dual Core Processor 6000+ GX611AA-ABA m8300f onboard 1x 2GB OCZ RAM DDR 
Hard DriveOSMonitorPower
320gb + 1TB HDD xubuntu 14.04 SSH 350 watt 
Case
crappy HP case 
  hide details  
Reply
Collecting Dust
(13 items)
 
Server
(9 items)
 
 
CPUMotherboardGraphicsRAM
E8400 3.0ghz OC @ 3.8GHz @ 1.36v DFI BLood Iron P35 none OCZ 2x 2gb DDR2 800 CAS @ 5-6-6-21 
Hard DriveOptical DriveOSMonitor
none none loonix ssh is my monitor 
KeyboardPowerCaseMouse
none Corsair 650 watts old pc case Logitech mx518 
Mouse Pad
none! 
CPUMotherboardGraphicsRAM
AMD Athlon 64 X2 Dual Core Processor 6000+ GX611AA-ABA m8300f onboard 1x 2GB OCZ RAM DDR 
Hard DriveOSMonitorPower
320gb + 1TB HDD xubuntu 14.04 SSH 350 watt 
Case
crappy HP case 
  hide details  
Reply
post #2 of 6
Batch files are fun and a easy way to automate some dull tasks. I usually just throw in dos commands into notepad to do whatever I want. My most used one right now is to open a rdp session in spanned mode to a terminal server load balancer which looks something like this

mstsc /span /V:192.168.xxx.xxx

I used to also make batch files when I was in school to spam all my friends in class using netsend XD
5ghz =)
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k @ 5ghz Gigabyte P67a-UD3-B3 ATI HD 6970 4Gb Patriot ddr3 1333mhz. 
Hard DriveOptical DriveOSMonitor
2x 60gb Mushkin SSD Raid-0, 1tb spinpoint Lg DvD Burner. windows 7, Ubuntu 9.10, Centos 5. 30'' Samsung 305T 2560x1600 =D 
KeyboardPowerCaseMouse
Dell 610watt PcPower&Cooling Ha f932 Razer Mamba 
Mouse Pad
Razer Vespula 
  hide details  
Reply
5ghz =)
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k @ 5ghz Gigabyte P67a-UD3-B3 ATI HD 6970 4Gb Patriot ddr3 1333mhz. 
Hard DriveOptical DriveOSMonitor
2x 60gb Mushkin SSD Raid-0, 1tb spinpoint Lg DvD Burner. windows 7, Ubuntu 9.10, Centos 5. 30'' Samsung 305T 2560x1600 =D 
KeyboardPowerCaseMouse
Dell 610watt PcPower&Cooling Ha f932 Razer Mamba 
Mouse Pad
Razer Vespula 
  hide details  
Reply
post #3 of 6
Thread Starter 
Quote:
Originally Posted by xgeko2 View Post
Batch files are fun and a easy way to automate some dull tasks. I usually just throw in dos commands into notepad to do whatever I want. My most used one right now is to open a rdp session in spanned mode to a terminal server load balancer which looks something like this

mstsc /span /V:192.168.xxx.xxx

I used to also make batch files when I was in school to spam all my friends in class using netsend XD

My classmates in IST at the career center when I was in high school we would spam the computers using netsend also, We all made cmd through notepad since that dumb career center disabled cmd
Collecting Dust
(13 items)
 
Server
(9 items)
 
 
CPUMotherboardGraphicsRAM
E8400 3.0ghz OC @ 3.8GHz @ 1.36v DFI BLood Iron P35 none OCZ 2x 2gb DDR2 800 CAS @ 5-6-6-21 
Hard DriveOptical DriveOSMonitor
none none loonix ssh is my monitor 
KeyboardPowerCaseMouse
none Corsair 650 watts old pc case Logitech mx518 
Mouse Pad
none! 
CPUMotherboardGraphicsRAM
AMD Athlon 64 X2 Dual Core Processor 6000+ GX611AA-ABA m8300f onboard 1x 2GB OCZ RAM DDR 
Hard DriveOSMonitorPower
320gb + 1TB HDD xubuntu 14.04 SSH 350 watt 
Case
crappy HP case 
  hide details  
Reply
Collecting Dust
(13 items)
 
Server
(9 items)
 
 
CPUMotherboardGraphicsRAM
E8400 3.0ghz OC @ 3.8GHz @ 1.36v DFI BLood Iron P35 none OCZ 2x 2gb DDR2 800 CAS @ 5-6-6-21 
Hard DriveOptical DriveOSMonitor
none none loonix ssh is my monitor 
KeyboardPowerCaseMouse
none Corsair 650 watts old pc case Logitech mx518 
Mouse Pad
none! 
CPUMotherboardGraphicsRAM
AMD Athlon 64 X2 Dual Core Processor 6000+ GX611AA-ABA m8300f onboard 1x 2GB OCZ RAM DDR 
Hard DriveOSMonitorPower
320gb + 1TB HDD xubuntu 14.04 SSH 350 watt 
Case
crappy HP case 
  hide details  
Reply
post #4 of 6
I wrote some batch stuff. Nothing too fancy:
Start gstreamer to receive videos from some PC with Linux.
And some funny script that opens the IE wait for a couple of second then kill the IE and start all over again.

Please don`t ask me where I learned that stuff. I just googled randomly. (This really helps)
But I have no specific site where to check commands. (Or better I forgot them)

And your disclaimer - how does illegal stuff with batch files?
Or better: Is there anyone doing illegal stuff
/* Redemption*/
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3930K Asus Sabertooth Asus GTX 680 8x4GB G.Skill@1337MHz 
Hard DriveOptical DriveCoolingOS
2xM4 64GB/ / F3 - 1TB / 2x2TB Baracudas some LG Modified EK 360 HFX 2x(Win7 x64) 
MonitorKeyboardPowerCase
SyncMaster P2770HD and SyncMaster 940NW Roccat Isku Corsair Gold AX750 NZXT 810 Switch 
MouseMouse Pad
Rocat Kone[+] Razer exactmat X 
  hide details  
Reply
/* Redemption*/
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3930K Asus Sabertooth Asus GTX 680 8x4GB G.Skill@1337MHz 
Hard DriveOptical DriveCoolingOS
2xM4 64GB/ / F3 - 1TB / 2x2TB Baracudas some LG Modified EK 360 HFX 2x(Win7 x64) 
MonitorKeyboardPowerCase
SyncMaster P2770HD and SyncMaster 940NW Roccat Isku Corsair Gold AX750 NZXT 810 Switch 
MouseMouse Pad
Rocat Kone[+] Razer exactmat X 
  hide details  
Reply
post #5 of 6
You can pretty much take any command from the command prompt and use it in a batch file to do different things. If you wanted as long as you have network share's mapped correctly you can even make batch files that will do a backup for you ect.. ect.. ect.. Google and microsoft technet are probably going to be your two best tools for learning what you can do.
5ghz =)
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k @ 5ghz Gigabyte P67a-UD3-B3 ATI HD 6970 4Gb Patriot ddr3 1333mhz. 
Hard DriveOptical DriveOSMonitor
2x 60gb Mushkin SSD Raid-0, 1tb spinpoint Lg DvD Burner. windows 7, Ubuntu 9.10, Centos 5. 30'' Samsung 305T 2560x1600 =D 
KeyboardPowerCaseMouse
Dell 610watt PcPower&Cooling Ha f932 Razer Mamba 
Mouse Pad
Razer Vespula 
  hide details  
Reply
5ghz =)
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel 2500k @ 5ghz Gigabyte P67a-UD3-B3 ATI HD 6970 4Gb Patriot ddr3 1333mhz. 
Hard DriveOptical DriveOSMonitor
2x 60gb Mushkin SSD Raid-0, 1tb spinpoint Lg DvD Burner. windows 7, Ubuntu 9.10, Centos 5. 30'' Samsung 305T 2560x1600 =D 
KeyboardPowerCaseMouse
Dell 610watt PcPower&Cooling Ha f932 Razer Mamba 
Mouse Pad
Razer Vespula 
  hide details  
Reply
post #6 of 6
I made a batch file to launch cpu-z, hwmonitor, etc with a short delay. I got tired of always launching 4 our so apps manually each reboot to test my OC stability.
2017 Build
(10 items)
 
   
CPUMotherboardGraphicsRAM
Ryzen 7 1700X ASRock X370 Killer SLI/ac PowerColor R9 280 3GB 2x Corsair Venceance LPX 32GB DDR4-3200 (4x16GB) 
Hard DriveHard DriveCoolingMonitor
Sandisk Ultra II 960GB SSD Mushkin Reactor 960GB MLC SSD Corsair H110i 34" LG 34UC88-B 3440x1440 
PowerCase
EVGA SuperNOVA G2 750W Phanteks Enthoo Evolv ATX TG 
CPUCPUCPUCPU
AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 
MotherboardRAMHard DriveOptical Drive
Supermicro H8QME-2+ 32GB DDR2-667 ECC Registered (16x2GB) 2x Samsung F3 1TB 2x Toshiba 5TB 
CoolingOSMonitorPower
4x Hyper TX-3 Debian Wheezy Headless Corsair CX750M 
  hide details  
Reply
2017 Build
(10 items)
 
   
CPUMotherboardGraphicsRAM
Ryzen 7 1700X ASRock X370 Killer SLI/ac PowerColor R9 280 3GB 2x Corsair Venceance LPX 32GB DDR4-3200 (4x16GB) 
Hard DriveHard DriveCoolingMonitor
Sandisk Ultra II 960GB SSD Mushkin Reactor 960GB MLC SSD Corsair H110i 34" LG 34UC88-B 3440x1440 
PowerCase
EVGA SuperNOVA G2 750W Phanteks Enthoo Evolv ATX TG 
CPUCPUCPUCPU
AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 AMD Opteron 8431 
MotherboardRAMHard DriveOptical Drive
Supermicro H8QME-2+ 32GB DDR2-667 ECC Registered (16x2GB) 2x Samsung F3 1TB 2x Toshiba 5TB 
CoolingOSMonitorPower
4x Hyper TX-3 Debian Wheezy Headless Corsair CX750M 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Writing batch files?