Remember the old days?! We were screwing up Linux, Solaris and other Unix OSs. However the GUI was, the shell was awesome! Well, in past tense because when Oracle acquired Sun and I moved from Solaris to Windows. Looking at the present seems like decision was perfect. But my scripting habits could not be repressed. So I reproduced some of them in windows ways.
I have attached approximately 86 scripts with this post and some reusable executable components that help these scripts. I’m putting a compendium here if it comes handy to you. Here comes the big list:
1. Get the pronunciation for specified word and play it with media player: getword.cmd
2. Change PC configuration to specified host ip: hack_isp.cmd |
Very intelligent script! You'll feel the hack when you understand this one.
3. Install windows updates using patches from specified folder: install_patches.cmd
4. Switch between ISPS: intconf.cmd |
This script is indeed useful in my office!
5. Want to join chromium development? Look at these: ChromeDev_init.cmd & ChromeDev.cmd
6. Open a customized Cygwin prompt: Cygwin_init.cmd & Cygwin.cmd
7. Script includes all steps necessary to compile opengl files when you have windows sdk and glut installed: oglcl.cmd |
Are you a opengl programmer? You’d like the last script. But you need to know more about cl
8. Share folder in network using net share command; delete them: addshares.cmd, delshares.cmd
9. Change IP Address of local area connection: change_ip.cmd
10. Change DNS servers for local area connection: change_dns.cmd
11. Check all drives of my hard-disk and shut the pc down: check & down.cmd
12. Display reminders in message box: displaymsgdone.cmd
13. Incomplete Windows Script for rapidshare link downloads: dnrssingle.cmd |

Fig: Scripting guy rocks his baby with script :P
Know more
14. Open Jar files: ejar.cmd
15. Generate java bytecodes from java sources and run: Ejava.cmd, Ejavac.cmd
16. Extract single lines from file: file_var.cmd
17. Sink down in disguise: flush_os.cmd |
Longtime ago I was doing some assembly programming. Here are those scripts: MASM_Init.cmd, masm32_cls.cmd, MASM32_Init.cmd, mpl.cmd. If you need more help on assembly look
here.
18. Wait for specified timer interval and then notify on top of all windows: mdelay.cmd
19. Open any file with notepad++: npp.cmd
20. Create installer from installer script: nsis.cmd
21. Create new source file and open with visual studio: ocf.cmd
22. Rename all other extension files i.e.; .dat to .mpg:
23. Rename_others_to_mpg.cmd
24. Vista won’t boot because you just reinstalled mbr. So repair it: Repair_vistabootmgr.cmd
25. Start, stop, web services (apache, php, mysql): samp.cmd |
It’s my version of web server integrating them manually.
26. Want to just ping using the host id: like your ip is 10 so you type sping 10: sping.cmd
27. Stop mssql services consumes too much CPU; start: StopServicesMSSQL.cmd, StartServicesMSSQL.cmd
28. Shutdown PC when specified file is downloaded completely: stdn.cmd
29. Get an svnadmin prompt: svnadmin_init.cmd and svnadmin.cmd
30. Open a stable svn client: SVNDev_init.cmd, SVNDev.cmd |
I was using svn of depot clients from chromium. Now I am using CollabNet for svn(certified binaries).
31. Force Windows Media Player to shutdown: wmpkill.cmd |
Video players sometimes won’t hang! That won’t happen!
32. This script enables Integrate Internet Download Manager integration after a specified amount of time and then disable on press key: afd.cmd |
I filled bug report to them; they said they will fix the integration problem in next release but Chrome was constantly crashing! Still the script works.
33. Change MAC Address of Network Interface: change_mac.cmd |
This script is very helpful for rokers! Anyway, are you a hacker?
34. Get HTTP header for any website: checkheader.cmd |
Now you know who I am! But shh! Don’t tell anyone!
Download script files
here. You'll find some shortcuts in the folder which directly points to different applicaiton to assist on commandline. For example, try command excel.lnk in cmd.
That’s too much incentive today! If you are in confusion about any script, leave in comments. Some other day I’ll talk about another technology for scripting which you already know: Powershell.
Thanks for visiting.
Attached file with this post: saos-scripts-0.99.zip
Some modifications have been done on the scripts. Readme has been added and getword script has changed so that it can be easily customized.
ReplyDeleteI've moved from Windows Tridional Shell to Powershell. I'm not currently using these scripts and don't have time to test them up in different platform (they work fine in my machine). If you find issues with attached scripts please mention. I'll update with fix.
Thanks for visiting.