Hello

I want to make a simple bat file in Windows 7 but the command (route) only works in admin mode so I would have to ask for admin premissions. How do I do this in a bat file?

Thank you

I am not an expert as most on windows but I found this with a google search:
Click Here

and this

Click Here

Hope it helps :)

It doesnt say anything. I want to either force it to run as admin or if it detects if it isnt running as admin, exit itself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.