Solved

Dos Executable File

Posted on 2006-06-16
6
136 Views
Last Modified: 2010-04-30
I need to flush my dns on all my computers in the office there are over 80 of them, I need to do a ipconfig /flushdns and want to write it to a dos executable file but don't know how to do it, can anyone layout how I need to do it?

Thank you

0
Comment
Question by:cjlocy
  • 4
  • 2
6 Comments
 
LVL 24

Accepted Solution

by:
R_Rajesh earned 250 total points
ID: 16920302
Goto dos prompt. type "copy con a.bat" and press the return key. Then type "ipconfig /flushdns" and press ctrl+z. This will create a.bat which should be as good as an exe file
0
 

Author Comment

by:cjlocy
ID: 16920414
Where does it copy it to?  I did that and it said 1 file copied...I still need that file to send to people.

Thanks
0
 
LVL 24

Expert Comment

by:R_Rajesh
ID: 16920480
once you are at the promop it should say something like

C:\Documents and Settings\Rajesh>

In the above example you can access the file by starting windows explorer - gooing to c drive - documents and setting folder and then Rajesh folder

You can also create the file in the root of your drive by typing "C:\" and return key before creating the file...


0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 24

Expert Comment

by:R_Rajesh
ID: 16920496
if you are still unable to find it, you can always try searching for a.bat (start-search)
0
 

Author Comment

by:cjlocy
ID: 16920645
I found it I was having a brain fart.....thank you R Rajesh.
0
 
LVL 24

Expert Comment

by:R_Rajesh
ID: 16920713
>>You can also create the file in the root of your drive by typing "C:\" and return key
typing c:\ will just give you an error. it should have been cd\

And thanks for the Grade :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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