Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[June 21, 2024, 01:43:48 PM]

[June 21, 2024, 01:43:48 PM]

[June 21, 2024, 01:43:48 PM]

[June 21, 2024, 01:43:48 PM]

[June 03, 2024, 11:05:55 AM]

[June 03, 2024, 11:05:55 AM]

[June 03, 2024, 11:05:55 AM]

[June 03, 2024, 11:05:55 AM]

[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[April 24, 2024, 11:48:22 AM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Computer / Technical Issues » Operating Systems » Windows » Windows XP
 Running Vanishing Console Programs With A Click!
Pages: [1]   Go Down
  Print  
Author Topic: Running Vanishing Console Programs With A Click!  (Read 1147 times)
Alex
TWI Hero
**********



Karma: 1
Offline Offline

Posts: 12898


View Profile WWW
Running Vanishing Console Programs With A Click!
« Posted: April 17, 2007, 02:07:06 PM »


 Ever had a console program that opens a console window, executes, and vanishes in an instant? Just so that running console programs becomes easier for you, here's some shit i wrote ONLY FOR WINDOWS XP:



Windows Registry Editor Version 5.00

Code:
[HKEY_CLASSES_ROOT\exefile\shell\runcmd]
@="Run at Console"

[HKEY_CLASSES_ROOT\exefile\shell\runcmd\command]
@="cmd /k \"echo Executing (Press Ctrl+C to end program)...&&\"%L\"&&pause&&exit\""

[HKEY_CLASSES_ROOT\batfile\shell\runcmd]
@="Run at Console"

[HKEY_CLASSES_ROOT\batfile\shell\runcmd\command]
@="cmd /k \"echo Executing batch script...&&\"%L\"&&pause&&exit\""



Put that in a file called run_at_console.reg and double click on the file. Click Merge. Then try right-clicking on any console program. You should see a new option called Run at Console. That will cause console programs to run and pause for you to press a key before exiting. Good luck!

PS. And for those who don't know how to copy text from a Command Window, right click on the Window, and then click Mark. Mark (select) the area that you want to copy and press Enter. Data copied. Now go paste it somewhere.

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.171 seconds with 26 queries.