Sharing wifi via CMD Command Prompt on Computer to other devices for example to Smartphones, Tablets, other Computers WITHOUT having to install any Application. Just need to copy and paste the code into notepad and save it into the .bat file format after that run as administrator. Here are the steps you must take to get started:
How is Wifi Sharing Using the Command Prompt?
Source IMG
Let's see by following the steps to create the Script with Notepad which is the default Windows application.
The first step
The first step that must be done is Open Notepad and Write (Copy Paste) the Script Code below:
The first step that must be done is Open Notepad and Write (Copy Paste) the Script Code below:
@echo
off:
:STARTUP
title Sharing Wifi CMD v.02
:welcome mode 37, 18
set ch=3
title Free Wi-Fi
color a
cls
echo Welcome, %username% Wi-Fi Sharing
echo
.echo %date% %time%
echo ___________________________________
echo 1. Berhenti dan Keluar?
echo ___________________________________
echo 2. Hentikan Wi-Fi?
echo ___________________________________
echo 3. Mulai Berbagi Wi-Fi?
echo ___________________________________
echo 4. Belum ada Wi-Fi, Buat Sekarang?
echo ___________________________________
echo 5. Program Hacking
echo ___________________________________
echo.
set /p p1=Enter No. on Command List:
if "%p1%"=="1" goto close
if "%p1%"=="2" goto stop
if "%p1%"=="3" goto start
if "%p1%"=="4" goto newwifi
if "%p1%"=="p1" is not defined" goto welcome
if "%p1%"=="5" goto hackingcolor ccls
mode 50, 5
echo __________________________________________
echo.
echo SILAHKAH MASUKKAN NOMOR YANG VALID !!!
echo ___________________________________________
ping localhost -n 3 >null
goto welcome
:start
echo.
call netsh wlan start hostednetwork
ping localhost -n 3 >null
goto welcome
:Stop
echo.
call netsh wlan stop hostednetwork
ping localhost -n 3 >null goto welcome
:newwifi
color fc
pause netsh wlan
set hostednetwork ssid=www.khalifah-alan.tk key=passwordping localhost -n 4 >null
goto welcome
:close
call netsh wlan stop hostednetwork
echo Jaringan Wi-Fi telah dihentikan dan jendela akan
echo ditutup, silahkan buka kembali untuk memulai
echo lagi!
ping localhost -n 5 >nul
exit
:hacking
color a
::START
start D:\ScriptBatch\KeyLonger\ScriptBatch\HACKER.bat
goto welcome
Second Step
After copying the above script into notepad, the next step is to save the file by: "Click File> Save As / Save File As> Select the" All Files "column> Fill in the File Name in the column name with the format" FileFile.bat> Click Save.
Third step
After the file has been saved, place the file on the hard drive which later the file will not be moved again then make the file sortcut and move it to your desktop then inject the original file to be more secure from the editor or deletor hehe.
The Sortcut file can be changed, if the original can't. You can also see the file path on the sortcut by "right-click the sortcut file> properties> find the path and copy then edit the script and replace the Blue Writing in the script without the upper comma (').
Example: 'D: \ Khalifah \ FileFile.bat' then you must delete the sign (').
*Information:
Red writing You can change according to the words you like.
Blue writing That is the address (path) where I receive the script file above on my PC hard drive.
How to copy the file path Press + hold down the Shift key> Right-click File> Copy File Path That's how to share hotspot wifi to other devices using CMD, hopefully it's useful! Source: s 0 f t h 4 c k
Comments