so I have this batch file below to turn off wifi and turn it back on, then using task scheduler to run it every 12 hours
start /B "" "C:\Users\(username)\Tools\WifiSchedule\WLANOFF.lnk"
ping 127.0.0.1 -n 4 > nul
start /B "" "C:\Users\(username)\Tools\WifiSchedule\WLANON.lnk"
the thign is, each time this runs a windows pops up and steal focus and it's quite annoying. blocks what im reading or if im doing work it interrupts and steals focus again when CMD disappearing. what line do I add in the CMD command line to have this in the background?
start /B "" "C:\Users\(username)\Tools\WifiSchedule\WLANOFF.lnk"
ping 127.0.0.1 -n 4 > nul
start /B "" "C:\Users\(username)\Tools\WifiSchedule\WLANON.lnk"
the thign is, each time this runs a windows pops up and steal focus and it's quite annoying. blocks what im reading or if im doing work it interrupts and steals focus again when CMD disappearing. what line do I add in the CMD command line to have this in the background?
My Computer
System One
-
- OS
- win11 and 10
- Computer type
- Laptop
- Manufacturer/Model
- dell/alienware
- CPU
- 3940xm
- Memory
- 16gb
- Graphics Card(s)
- 780m
- Monitor(s) Displays
- 18.4
- Screen Resolution
- 1080p