Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Dos Executable File

Posted on 2006-06-16
6
Medium Priority
?
140 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 1000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

971 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