Solved

netstat  printing out result or pausing

Posted on 2004-03-29
4
154 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Recreate New ADC 1 270
Group Policy 9 556
Outlook 2013 Certicate error 1 282
Migrating from IIS5 to IIS8.5 3 152
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…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

15 Experts available now in Live!

Get 1:1 Help Now