Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
@echo off:runclsecho type commandecho editecho chromeecho endset/p "cho=>"if %cho%==edit start notepad program_menu.batif %cho%==chrome goto chromeif %cho%==end goto endgoto run:chromeecho type website or blankset /p "cho3=>"if %cho3%==blank goto just run chromecd "C:\Documents and Settings\%userprofile%\Local Settings\Application Data\Google\Chrome\Application"start chrome.exe www.%cho3%goto run:just run chromecd "C:\Documents and Settings\%userprofile%\Local Settings\Application Data\Google\Chrome\Application"start chrome.exegoto run:end
@echo offsetlocal enabledelayedexpansionset Sch_choice=,Google,Youtube,Yahoo,set Sch=Googleset save_history=1:LOOPecho.echo.= Menu =================================================echo.for /f "tokens=1,2,* delims=_ " %%A in ('"findstr /b /c:":menu_" "%~f0""') do echo. %%B %%Cecho.echo.========================================================choice /C:123 >nulset choice=%errorlevel%call :menu_%choice%goto LOOP:menu_1 Search Type: '!Sch!' [!Sch_choice:~1,-1!]call :NIL Sch "!Sch_choice!"clsexit /b:menu_2 Searchcall :Search "!Sch!"clsexit /b:menu_3 Historycall :Historyclsexit /b:NILset lst=%~2set dlm=%lst:~-1%set old=!%~1!set fst=for /f "delims=%dlm%" %%a in ("%lst%") do set fst=%%aset lll=!lst:%dlm%%old%%dlm%=%dlm%@%dlm%!%fst%%dlm%for /f "tokens=2 delims=@" %%a in ("%lll%") do set lll=%%afor /f "delims=%dlm%" %%a in ("%lll%") do set new=%%aSET %~1=%new%exit /bREM --------------------------------------------------------------:Searchecho.echo.set type=%~1if '%type%' equ '' EXIT /bchoice /C:YN /M "Search %type% ??"echo.if not %errorlevel% equ 1 EXIT /bset /p Schtxt=Search: call set Schtxt=%%Schtxt: =+%%call :Configcall start %%%type%%%if %save_history% equ 1 echo.%date% %time% %type% %Schtxt% >>SearchHistory.logexit /b:Configset Google=http://www.google.com/search?q=%Schtxt%set Youtube=http://www.youtube.com/results?search_query=%Schtxt%set Yahoo=http://search.yahoo.com/search?p=%Schtxt%exit /bREM --------------------------------------------------------------:Historyclsecho.HISTORY:echo.type SearchHistory.logecho.echo.pauseexit /b
i have made a menu opens a web browser and it then asks for a web site or if you want a blank page (it also has a self edit option, but it does not work all the time)Code: [Select]@echo off:runclsecho type commandecho editecho chromeecho endset/p "cho=>"if %cho%==edit start notepad program_menu.batif %cho%==chrome goto chromeif %cho%==end goto endgoto run:chromeecho type website or blankset/p "cho3=>"if %cho3%==blank goto just run chromecd C:\Documents and Settings\jason\Local Settings\Application Data\Google\Chrome\Applicationstart chrome.exe www.%cho3%goto run:just run chromecd C:\Documents and Settings\jason\Local Settings\Application Data\Google\Chrome\Applicationstart chrome.exegoto run:endi could make it do a sort of goolge sarch thing more on that later (i need to go now)
@echo off:runclsecho type commandecho editecho chromeecho endset/p "cho=>"if %cho%==edit start notepad program_menu.batif %cho%==chrome goto chromeif %cho%==end goto endgoto run:chromeecho type website or blankset/p "cho3=>"if %cho3%==blank goto just run chromecd C:\Documents and Settings\jason\Local Settings\Application Data\Google\Chrome\Applicationstart chrome.exe www.%cho3%goto run:just run chromecd C:\Documents and Settings\jason\Local Settings\Application Data\Google\Chrome\Applicationstart chrome.exegoto run:end
He's playing a game called IRL. Great graphics, *censored* gameplay.
@echo offmode 50,100setlocal enabledelayedexpansionREM <!-- SETUPset selIco=[%%]set unselIco= %% set yourDir="E:\MEDIA\" "F:\MEDIA\"REM PUT "" ON ALL DIRS & PUT \ AT THE ENDREM -->set num=1for /f "tokens=*" %%a in ('dir /b %yourDir%') do (set Ico!num!=%unselIco%set word!num!=%%aset /a num+=1)set /a maxnum=%num%-1set Ico1=%selIco%set num=1set selNum=1:ECHOclsset num=1echo.#############################echo.for %%a in (%yourDir%) do (echo.------------------------- %%afor /f %%b in ('dir /b %%a') do (call set tmpw=%%Ico!num!%%%%word!num!%%%echo !tmpw! set /a num+=1)echo.)call echo.Selected: %selNum% %%word%selNum%%%echo.#############################choice.exe /C wsd >nulif %errorlevel% equ 1 goto UPif %errorlevel% equ 2 goto DNif %errorlevel% equ 3 goto STARTgoto ECHO:UPset Ico%selNum%=%unselIco%set /a selNum-=1if %selNum% lss 1 set selNum=%maxnum%set Ico%selNum%=%selIco%goto ECHO:DNset Ico%selNum%=%unselIco%set /a selNum+=1if %selNum% gtr %maxnum% set selNum=1set Ico%selNum%=%selIco%goto ECHO:STARTcall set tmpa=%%word%selNum%%%for %%a in (%yourDir%) do (set tmpb=%%~aif exist "!tmpb!\%tmpa%" set openDir=!tmpb!)start explorer "%openDir%%tmpa%"exit
you mean it wont work on your computer cause it works on mine
A space is needed between the Set and /P
ESRB Rating: A
================================================================LIST:28 - ZZ Top - La Grange.mp334 - Tenacious D - The Metal.mp337 - Slipknot - Before I Forget.mp352 - Dragonforce - Through The Fire And The Flames.mp3================================================================Now playing:Artist : DragonforceTitle : Through the Fire and FlamesGenre :428s. <> [## ]================================================================O - open new fileP - stop played file & pauseC - clear tempD - next file