Solved

netstat  printing out result or pausing

Posted on 2004-03-29
4
155 Views
Last Modified: 2010-04-13
I'm trying to use netstat to get an idea on the open ports.

Is there a way to keep netstat open long enough to print or copy and paste the reuslts.

Mine closes after 3 secs.

Thanks
fordraiders
0
Comment
Question by:fordraiders
  • 3
4 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 10708801
Start > Run CMD

then run your commands
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 10708811
Also to print to a text file

NETSTAT >C:\NETSAT.txt 2>&1
0
 
LVL 20

Accepted Solution

by:
Debsyl99 earned 250 total points
ID: 10708835
Click start, run cmd - hit enter
then type netstat -a (or whatever switch you want) hit enter

This should keep the windows open any way if you run it from a dos prompt rather than the run menu.

Then you can click on the tiny c prompt icon at the top of your dos windows to bring up a menu, click on edit select all, then click on the icon again and click on edit, copy.

You should be able to paste the content into a text or word document

Deb :))
0
 
LVL 44

Assisted Solution

by:CrazyOne
CrazyOne earned 250 total points
ID: 10708949
Actually this will create the text file for you

Start > run NETSTAT -a >>C:\NETSTAT.txt

This way you don't need to open the cmd windwow and the information is housed in a text file that you can use to print from
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now