Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: have a command prompt live on the desktop?


19 Jul 2011   #1

Windows 7 Ultimate x64
 
 
have a command prompt live on the desktop?

Hi,
I'd like to be able to have a command prompt (instance of cmd.exe) that is always active, and is always underneath everything else. I know I can start cmd at startup, but I don't know how to force it to stay beneath other windows at all times. I don't want to be able to alt-tab to it, I don't want it to appear in the taskbar, I just want it to live on the desktop, exhibiting behavior similar to what windows 7 calls a gadget.

If there are shell alternatives (preferably free) which would allow this behavior, I'd be willing to consider them.

This isn't really a big deal, it's just something I thought would be kind of neat.
Thanks for any ideas.

My System SpecsSystem Spec
.

19 Jul 2011   #2

Win7 Home Premium 64x
 
 

I agree that would be kind of neat

Have looked just now and have not found an 3rd party program that will do this. but for people who work in the cmd on a daily basis a simple interface that sits on the desktop like a gadget would rock!
My System SpecsSystem Spec
19 Jul 2011   #3

Win7 Home Premium 64x
 
 

Think I found something:

Console is an open source, tabbed CMD alternative for Windows

looks pretty cool and im gonna give it a go
My System SpecsSystem Spec
.


20 Jul 2011   #4

Windows 7 Ultimate x64
 
 

Hey guys, thanks for the suggestions. I'm currently giving "Console" a tryout. So far, I like most of the features, especially the ability to hide it from the taskbar and pinning it to the desktop. Other ideas are welcome, but as far as I'm concerned I think it's solved.
My System SpecsSystem Spec
20 Jul 2011   #5

Windows 7 32 bit
 
 

There are a lot of cool tabbed and Gui command prompts in Linux. The ones I've tried in Windows seem to have funky side effects. (I haven't tried the particular one suggested in this thread. Could work fine but I've kind of given up trying these type of utilities.) In any event, another approach is just to change the attribute of the CMD prompt window. I had a hotkey called TopmostToggle that toggled the Stay On Top attribute of a window by Control Right Clicking on it. I added Shift Right Click to also toggle AltTab visibility.

It's free for you to use at your own risk. You can download from my page here:
Hotkeys

Just search the page for Topmost to get the download link.

I tested it on Windows7 32 bit command prompt window. Seems to work fine. If you Shift Right Click on another window and it goes really strange Shift Right Click again should put it back as found.

edit: if anyone out there is using TopmostToggle 1.4.0.0 using Check For Updates command should download it auto-magically.

edit2: instead of manually setting the attributes you may want to use a batch file in start up with a program like NirCmd to set the window attributes. TopmostToggle you can use to test before automating a solution.
My System SpecsSystem Spec
21 Jul 2011   #6

Win7 Home Premium 64x
 
 

Good post Miles Ahead. When I was looking for software like console, I was hoping maybe you had written or could write up a program real fast

I think one of the things he wanted was for it to be going on startup so the batch script would be needed. I had seen NirCmd somewhere in my search, but it wasn't actually a CMD console, but more of an automator? or something. I will look into that program as well.
My System SpecsSystem Spec
21 Jul 2011   #7

Win7 Home Premium 64x
 
 

Well, I was playing around with Console and leave it to me to break things.

somehow if it is open and you click "Open main console" from the taskbar it will put itself into an infinite repeat loop lol

Edit:
_____________________________
Found the problem. I had set a shell command to C:\Program Files (x86)\Console2\Console.exe
and it was opening itself over and over again.
___________________________

so i had 100 instances of Console before my CPU was at full load and each time I closed one it spawned a new one as soon as CPU had resources

So I forced shutdown etc. and when i restarted, I opened Console again and its settings were the same and it put me into the infinite loop again... forced shutdown again to stop (Ctrl-C did not break) not sure of any other way to break.

Will try reextracting from the Zip. to see if it fixes, but I would not run this at startup in this condition

you would startup in an infinite loop if you broke it like i did.
My System SpecsSystem Spec
21 Jul 2011   #8

Win7 Home Premium 64x
 
 

Ok so reextract didnt fix, but I found the fix. It happened when I saved the settings in options.

So the save file is in C:/Users/<Name>/AppData/Roaming/Console2

Delete the file console2.xml and it will take out saved data and reset the defaults
My System SpecsSystem Spec
21 Jul 2011   #9

Win7 Home Premium 64x
 
 

Found the problem. I had set a shell command to C:\Program Files (x86)\Console2\Console.exe
and it was opening itself over and over again.
My System SpecsSystem Spec
21 Jul 2011   #10

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Thorsen View Post
Good post Miles Ahead. When I was looking for software like console, I was hoping maybe you had written or could write up a program real fast

I think one of the things he wanted was for it to be going on startup so the batch script would be needed. I had seen NirCmd somewhere in my search, but it wasn't actually a CMD console, but more of an automator? or something. I will look into that program as well.
NirCmd is a command line tool that can do lots of things. It has a win command that can change a window's size, position, attributes, hide it etc.. See NirCmd win command style in the NirCmd.chm file. You can change the same attributes I do with TopmostToggle only from a batch. One way to set a delay in batch is to use the ping command. This gives the window a chance to open.

ping -n 3 127.0.0.1 > nul

I haven't gotten into powershell so there's probably newer ways to set a delay but the ping trick should work on just about any NT based Windows that has a TCP/IP stack installed. The number after the 'n' is approx. number of seconds delay you want. Not super ms accurate. But good enough for most kludges.
My System SpecsSystem Spec
Reply

 have a command prompt live on the desktop?




Thread Tools



Similar help and support threads for2: have a command prompt live on the desktop?
Thread Forum
How to fix MBR through command prompt? General Discussion
SSH command prompt Performance & Maintenance
Help needed executing command prompt command General Discussion
command prompt General Discussion
A file in Desktop cant be deleted. Command prompt doesnt recognize it. General Discussion
Run administrative command prompt from command prompt General Discussion
Command Prompt command <ipconfig> not working Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:08 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33