I'v put together a batch script so you can quickly launch common command prompt commands.
I don't think this is considered self promoting , if it is I'm sorry you can take it down. I do have a argument about how I'm not breaking any rules if you want to here it.
Let me know what you think of it. If you have any suggestions on commands to add to it or any think I can do to make it better let me know.
I can make a PAF launcher for it if people would like me to, or will at least try to
Download:
commander V2.bat
commander V2.txt
Download V3 to see some of what is coming:
commander V3.bat
Screen shots:
Main Menu
launcher Menu
Advanced Menu
Release Notes:
Commander V2
- Organized it a bit better.
- Add /I to the if.
To Do:
- Add more commands.
- Add a sub-menu for advance commands, which will allow to add options to commands e.g. (ping -a, ping -s 4).
Why ever would you have anything like that? We've already got Command Prompt Portable with which users can do things like that. An application as simplistic as you describe has no chance of being official, I'd say; users can just
ping 192.168.0.1
themselves with Command Prompt Portable.I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
My plans were, to create something that was easy to use would have common commands ,one of them being ping, and even people that don't know much about cmd could use.
It was something I did out of boredom, I was not expecting it to be official it just would be cool if it could
If you have a command you would like for me to put in it let me know.
EDIT: It is going to be a small project of mine, I thought about putting it in the Paf format so I can show it here but I have decided not to, could I post it in the off topic forum when I'm done with it?
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
I think these commands would be a good addition:
netstat -r
arp -a
ipconfig /all
tracert IPaddress
The ping and tracert IPaddress should be entered either via the command line or a simply menu.
I think posting it here to work out the bugs would be wise before converting it to a PAF format.
Ed
Cool, I will look at those, and see if I can add them.
thanks
EDIT: Im going to see if I can add it to the off topic forum.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Im going to see if I can add it to the off topic forum.
If you do please add a link to it here. I rarely check that forum.
BTW Another suggestion for your bat file, have it default to a particular IPaddress that the user can set when they install it. If they frequently ping a particular address more than others this reduces the key stokes needed to a single click.
And if you want to go crazy with it you could add a menu to it to allow the user to invoke IPConfig options such as Release, Renew, and FlushDNS.
Ed
I posted it above.
I might be able to add a vb script or something to do what your talking about with the default ip.
BTW: you should come visit the off topic forum, we don't bite }:)
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
the only advantage for this is the menu.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
and you don't have to type every thing out
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
butt hen I have to shift one hand from the keyboard to the mouse, and then back. When i hit terminal, I really expect to do alot of typing. Plus, you have the tab key which will extend the commands for you.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I'm not sure what your talking about having to "shift one hand from the keyboard to the mouse" because the commands are all it the terminal and you don't have to move the mouse, except when you launch an application like you would do normally.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
The idea is that when he is in terminal/cmd he is typing, he does not want to have to move the mouse. After while you could probably type
"pin"
faster than moving your hand off the keyboard, to the mouse, and then clicking the command on the menu or running this program.
that is all
~powerjuce
Please search before posting. ~Thanks
Oh, I see now. Its all in cmd there are menus but you don't click them, for ping all you do is type p and hit enter.
I'm trying to get some screen shots up to show some things it can do.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
You should turn it into an AutoIt app!
I thought about doing something in ahk.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Do it in Scheme... just for kicks.
I think I might stick with cmd for now, I'm still a noob :/
Also: yes i do need a hobby, Im trying to learn programing because I enjoy it
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Basic 256 :evil:
[EDIT]On a serious note perhaps I should submit this as a request, would make a nice addition to the Education category!
I would also like a button/menu item/right-click menu in explorer/commander windows to open a command prompt in that folder.
I don't think that can be done in a batch scrip.
You might be able to find something like that thats made in ahk, or you could do this http://www.tech-recipes.com/rx/232/right-click-to-open-a-command-prompt/
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Try:
if /I %com%==p goto ping
rather than:
if %com%==p goto ping
if %com%==P goto ping
the /I switch, if specified, says to do case insensitive string compares
It will cut your if statements in half.
Ed
Sweet, thanks
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Or you could use something like
:toUpper %com%
, to ensure the command is always upper-cased. Less to type but the net result is the same thing.Updated V2 see above for download.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Change
echo * Sub-munu Launcher *
to
echo * Sub-menu Launcher *
Change
set /p ping=Enter a ip to ping:
to
set /p ping=Enter an ip to ping:
Change
set /p format=Specify the drive leter you want to format:
to
set /p format=Specify the drive letter you want to format:
Change
set /p launch=Enter a program launch:
to
set /p launch=Enter a program to launch:
Change
echo Your windows version is:
to
echo Your Windows version is:
Change
echo Invalid command. Please make sure the commands you type
echo in are correct.
to
echo Invalid command. Please make sure the commands
echo you enter are correct.
Do note, none are technical in nature.
Ed
:/ notepad does not have a sell checker
I will make those changes now.
Thanks.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
...you don't actually need a launcher, you can just modify an appinfo.ini file to launch it (or them).
Check out this post:
https://portableapps.com/node/21757
I made this half-pony, half-monkey monster to please you.
The batch file it's self should not leave traces.
Thanks.
Cool, I think I will do that
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Updated:
fixed some spelling and grammatical errors.
Also: See the To Do list.
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."
Added some screen shots
"It's just an online installer. It's not going to mug you.", JTH
"The shell is the key to unlock Linux's greatest advantages."