Solved

Dos Executable File

Posted on 2006-06-16
6
135 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

831 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