how do i run my shell Shell("netsh interface ip set address" & Chr(34) & "Local Area Connection" & Chr(34) & "static 10." & IPAddy & ".4") as admin? PLZ
hacks14
0
Newbie Poster
Recommended Answers
Jump to PostI am assuming that 'IPAddy' Is a variable declared the contains a number in the x.x format.
Try Using This:Shell("runas.exe /users:administrator netsh interface ip set address" & Chr(34) & "Local Area Connection" & Chr(34) & "static 10." & IPAddy & ".4")
All 2 Replies
Reply to this topic
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.