Windows Command

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Berillions
Level 4
Level 4
Posts: 230
Joined: Sat Mar 28, 2009 12:55 pm

Windows Command

Post by Berillions »

Hello,

I would like to know if it's possible to execute a windows command like :

Code: Select all

ipconfig /flushdns
On Windows, i must launch the console (cmd) and execute this command. But with Wine, it's possible?

Thanks
Gert van den Berg

Windows Command

Post by Gert van den Berg »

On Sat, Jun 19, 2010 at 10:15, Berillions <[email protected]> wrote:
Hello,

I would like to know if it's possible to execute a windows command like :

Code:
ipconfig /flushdns
It won't work...

ipconfig is not implemented, and Wine is minimally involved with networking...

nscd is sometimes used for DNS caching (and restarting it should
work...) If it is not installed, something else might be used... ask
your distribution's forum how to clear the DNS cache... (it might be
that no caching is done by default...)

Have a look at the man pages for:
nsswqitch.conf
resolv.conf
nscd (if it is installed)
dnsmasq (if it is installed)

Gert
James McKenzie

Windows Command

Post by James McKenzie »

Berillions wrote:
Hello,

I would like to know if it's possible to execute a windows command like :

Code:
ipconfig /flushdns

No. Wine relies on the underlying Internet connection provided by your
operating system.

Also, this is not a very good command to use in Windows anyway.

James McKenzie
Locked