4 Replies - 1994 Views - Last Post: 23 October 2013 - 06:35 PM

#1 ReTro-  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-October 13

My very first time using code

Posted 22 October 2013 - 06:03 PM

Hello,
This is my very first post so sorry if i get anything wrong or im posting in the wrong section but here is a tiny bit about my self. My name is Zack I'm 18 and I am from canada.
In school we just started using CSS and HTML for website design. (and im pretty damn good at it compared to all other students)
But I really wanted to learn more(About making applications not websites). So I did some researching and I decided to make my own "Easy to use menu" It honestly took me about 5-6 hours to complete and I just wanted to post it on here to show you guys. Maybe get some positive feedback? This is my very first time using any code besides the normal HTML and CSS. Also Is there a main code you guys think I should start learning if I was to start making more in depth applications? Any feedback is greatly appreciated and so far I really like the site it has lots of good info! Thanks guys! My code is below (Sorry about the twitter stuff I was bored haha)
Ps. Obviously some of this code I got help with from online forums. I don't take 100% credit. Im just trying to learn and get comfortable with it!



@echo off

:menu

title Zack's Custom Help menu

color 5E

cls

echo.

echo.

echo Easy to use Menu
echo.
echo.
echo Please choose a selection below
echo.
echo Type 1 for change user password(Windows XP Only)
echo.
echo Type 2 for Help
echo.
echo Type 3 for custom boot menu
echo.
echo Type 4 for Extra 
echo.
echo Type 5 for Popular Websites 

set /p choice=

If %choice% EQU 1 goto change user password

If %choice% EQU 2 goto help

If %choice% EQU 3 goto boot menu

If %choice% EQU 4 goto Extra 

If %choice% EQU 5 goto websites 


:change user password

title Change user password(win Xp only)

color 08

pause

@echo

title Password Changer V.1 by ReTro

color 5E

echo CodeCracher V1

echo              Follow on twitter @zackgraham

echo ******************************************************************

echo.

net user

echo type in a username in the option above:

Set /p username=

net user %username%

echo Changing Password...

cls

echo Your Password has been changed


pause

goto menu


:help
@echo off
:Main
title Zacks ComputerBooter V0.1
cls
color 5E
pause 

echo If you would like help please tweet me @zackeygraham


echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded...
ping localhost -n 2 >nul
start http:twitter.com/ZackeryGraham
echo Booting Up Menu...
ping localhost -n 2 >nul
goto Main

pause

goto main




:boot menu

echo This is a cutom boot menu use at own risk

@echo off
:Main
title Zacks ComputerBooter V0.1
cls
color 5E
echo.
echo.
echo 1} About This Program
echo 2} Exit This Program
echo.
echo 3} Shutdown Computer
echo 4} Restart Computer
echo 5} Logoff Computer
echo.
echo 6} Start Control Panel
echo 7} Start System32 Folder
echo.
echo 8} Crash your Computer
echo.
echo 9} Help
echo.
echo 10} Main menu
set /p select=
if %select% EQU 1 goto About
if %select% EQU 2 goto Exit
if %select% EQU 3 goto Shutdown
if %select% EQU 4 goto Restart
if %select% EQU 5 goto Logoff
if %select% EQU 6 goto Control
if %select% EQU 7 goto System32
if %select% EQU 8 goto Crash
if %select% EQU 9 goto Help
if %select% EQU 10 goto menu

:About
title About Zacks ComputerBooter V0.1
color E
cls
echo.
echo.
echo ABOUT COMPUTERBOOTER 0.1 FOR WINDOWS
echo (BATCH FILE VERSION)
echo.
echo This custom boot menu was created by zack graham
echo.
echo.
echo For more info please ask me on twitter @zackerygraham in Start

pause


goto menu

:Shutdown
start C:\Windows\System32\Shutdown.exe -s -t 5 -c "ComputerBooter Will now Shutdown Your Computer"
goto Main

:Restart
start C:\Windows\System32\Shutdown.exe -r -t 5 -c "ComputerBooter Will now Shutdown Your Computer" 
goto Main

:Logoff
start C:\Windows\System32\Shutdown.exe -l -t 5 -c "ComputerBooter Will now Logoff Your Account"
goto Main

:Control
start Control Panel
goto Main

:System32
start C:\Windows\System32
goto Main

:Help
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded...
ping localhost -n 2 >nul
start http:twitter.com/ZackeryGraham
echo Booting Up Menu...
ping localhost -n 2 >nul
goto Main

:Crash
start C:\windows\system32\CMD.exe
goto Crash

 :Extra
echo Extra
@echo off
title Extras
cls
color 5E
echo 1} to make a new folder
echo.
echo 2} To watch Display Drives
set /p select=
if %select% EQU 1 goto New Folder
if %select% EQU 2 goto Drives
:New Folder 
cls
color 5E
@echo off
echo press anything to create new folders on desktop

:New Folder 
echo Please click any button to make a new folder
pause 
md Brand new folders
start Brand new folders
echo Your folders have been added to your desktop
echo.
pause
echo Press any button to go back to main menu
goto menu
cls
:Drives
cls
echo Press any button to display drives 
pause
cls 
echo These are your drives color 5c
for %%d in (A,C,D) do DIR %%d *.*
pause
cls
echo Press any button to go to pain menu
goto menu

:websites
cls
pause
echo All Popular websites 
@echo off
title Popular Websites 
cls
color 5E
echo These are all the popular websites you will need 
echo.
echo.
echo 1} Facebook
echo 2} Twitter 
echo 3} Instagram
echo 4} Ask.FM
echo.
echo 5} Google
echo 6} Yahoo
echo.
echo 7} G-Mail
echo 8} Hotmail
echo 9} GMX
echo 10} Mail
echo.
echo 11} Main menu
set /p select=
if %select% EQU 1 goto facebook
if %select% EQU 2 goto twitter
if %select% EQU 3 goto instagram
if %select% EQU 4 goto ask
if %select% EQU 5 goto google
if %select% EQU 6 goto yahoo
if %select% EQU 7 goto gmail
if %select% EQU 8 goto hotmail
if %select% EQU 9 goto gmx
if %select% EQU 10 goto mail
if %select% EQU 11 goto menu
pause

:facebook
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded Facebook...
ping localhost -n 2 >nul
start http:www.facebook.com
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:twitter
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded Twitter...
ping localhost -n 2 >nul
start http:www.twitter.com
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:instagram
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded Instagram...
ping localhost -n 2 >nul
start http://instagram.com/
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:ask
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded Ask.fm ...
ping localhost -n 2 >nul
start http://ask.fm/
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:google
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded Google ...
ping localhost -n 2 >nul
start https://www.google.ca/?gws_rd=cr&ei=UQNnUtbhGfbF4AOpoIDwAg
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:yahoo
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded yahoo ...
ping localhost -n 2 >nul
start http://ca.yahoo.com/
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites


:gmail
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded your Gmail ...
ping localhost -n 2 >nul
start https://mail.google.com
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:hotmail
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded your Hotmail ...
ping localhost -n 2 >nul
start https://login.live.com
ping localhost -n 2 >nul
pause
goto websites

:gmx
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded your GMX E-Mail ...
ping localhost -n 2 >nul
start http://www.gmx.com/
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites

:mail
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded your Mail E-Mail ...
ping localhost -n 2 >nul
start http://www.mail.com/int/
echo Booting Up Menu...
ping localhost -n 2 >nul
pause
goto websites


This post has been edited by Curtis Rutland: 23 October 2013 - 05:32 PM
Reason for edit:: removed formatting.


Is This A Good Question/Topic? 0
  • +

Replies To: My very first time using code

#2 DblAAssassin  Icon User is offline

  • D.I.C Regular

Reputation: 32
  • Posts: 253
  • Joined: 11-May 13

Re: My very first time using code

Posted 23 October 2013 - 05:07 PM

This is the Python Section....
Was This Post Helpful? 0
  • +
  • -

#3 ReTro-  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 22-October 13

Re: My very first time using code

Posted 23 October 2013 - 05:13 PM

I know I requested it to be moved to PHP awhile ago but got no help
Was This Post Helpful? 0
  • +
  • -

#4 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4479
  • View blog
  • Posts: 7,801
  • Joined: 08-June 10

Re: My very first time using code

Posted 23 October 2013 - 05:30 PM

I have absolutely no idea what's going on here. This isn't python, and it isn't PHP. It looks like windows batch script.

Regardless, I'm going to have to move this thread. If you don't have specific help questions, this is more of a "Share Your Project" post. With that in mind, I'm moving it to the Share Your Project forum.
Was This Post Helpful? 0
  • +
  • -

#5 laytonsdad  Icon User is offline

  • Cheese and Sprinkles
  • member icon

Reputation: 439
  • View blog
  • Posts: 1,865
  • Joined: 30-April 10

Re: My very first time using code

Posted 23 October 2013 - 06:35 PM

View PostCurtis Rutland, on 23 October 2013 - 04:30 PM, said:

It looks like windows batch script.


That's what I see. A strange Command line website selector.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1