Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file
Name: Sebastian42 Date: August 19, 2009 at 03:41:42 Pacific OS: WinMe CPU/Ram: 2GHz; 1Gb Product: Asustek / P4S800MX Subcategory: General
Comment:
In 'Select Category' there is no WinMe option, so I just chose one.
Can this be put into a batch file ? If so, how ? Go to Start->Run and type CMD [OK], type: netstat -a [ENTER]
Name: Matt (by Mattio) Date: August 19, 2009 at 16:31:39 Pacific
Reply:
Easy.
Open Notepad Type Netstat -a Save as .Bat Easy!
You don't have to open in CMD or nothing, A batch file runs in DOS automatically. So whatever you type in there, it automatically runs with CMD.
So just typing Netstat -a will do it
Matt
*************************** Need BatchFile Help ? Msg me :) ***************************
0
Response Number 3
Name: Sebastian42 Date: August 20, 2009 at 05:33:22 Pacific
Reply:
Mattio The ground has shifted. Your suggestion works perfectly, but the usefulness of it has evaporated. When I tried it in RUN, before posting the question, I got a sensible (though unintelligible) set of data in the DOS window. Now, from both the batch file and from RUN, I get an infinite number of repeats of 'C:\Desktop>Netstat -a'
Basty
0
Response Number 4
Name: Sebastian42 Date: August 20, 2009 at 05:37:22 Pacific
Reply:
P.S. I 'googled' Netstat and got this result : A possible batch file is:
@echo off for /L %%X in (1,1,100) do (netstat -b >> C:\connections.txt)&(sleep 5) Cls
This example does 100 iterations of the netstat command at 5 second intervals (and records the results in a log).
Basty
0
Response Number 5
Name: Sebastian42 Date: August 20, 2009 at 05:40:25 Pacific
Reply:
I just ran that batch file and the result was 'syntax error'.
Summary: Please could you help . I would like to create a batch file to do the following:- copy orig.csv to new location. if orig.csv is present at new location - append file and delete orig.csv in original lo...
Summary: Hi, everyone. im having problems creating a simple batch file (DOH!!!), here goes,,, I want to copy an excel spread sheet from C:\abc\a.xls to c:\cba but i want the copied file name to change everyti...