SMF For Free Support Forum
Signup For Free Forum
July 05, 2008, 06:00:45 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: Some coding help.  (Read 880 times)
0 Members and 1 Guest are viewing this topic.
Mdog
SMF For Free Member
*
Offline Offline

Posts: 31


View Profile
« on: March 26, 2007, 08:47:49 pm »

Forum Url: http://gcoders.smfforfree2.com
Hello, I am not sure if anyone here is GOOD at coding batch files or not.  But if you are please answer my question.

Question- On my batch file I want it to say Hi, whats your name- now i got that far.  But then when you type your name i want to it apear as Hi (what you typed)

here is the code so far
Code:
@echo off
:menu
cls
title hi
echo Hello world
echo Whats your name?
echo this is my first program
Echo Type your name
set /p c=Option:
:(typedname)
cls
echo Hi [i](this is were i want the name)[/i]
echo glad you got this far
echo if you hit 1 you will go to a screen were you can chat with the computer
set /p c=Option:
if %c%==1 goto 1
:1
cls
echo LolLolLolLollollollollollollollollollollollollollollololollollollollollollollol!
echo You actualy thought you can talk to the computer lollollollollollollollollollol!
echo I PRANKED YOU!!!
echo Use this on your friends I dare you!!!
echo dont wory this doesnt harm your computer
echo or does it? 0_o
echo type e to exit
set /p c=option
if %c%==e goto e
:e
cls
exit
Pause
Please help if you can.
Logged

www.fleamutt.com - #1 Site!!!  Join now!!!
Crasy
Global Moderator
*
Offline Offline

Posts: 3231


I Approve of this Message


View Profile
« Reply #1 on: March 27, 2007, 02:06:19 pm »

I wish I could help you. But google got me this cool resource:
http://www.computerhope.com/batch.htm#02
I think the %1 part might be what you need...or something.

Moved to Coding board too Wink
Logged

Mdog
SMF For Free Member
*
Offline Offline

Posts: 31


View Profile
« Reply #2 on: March 27, 2007, 03:37:51 pm »

Nope didnt work
Logged

www.fleamutt.com - #1 Site!!!  Join now!!!
Mdog
SMF For Free Member
*
Offline Offline

Posts: 31


View Profile
« Reply #3 on: April 13, 2007, 08:11:55 pm »

Im lockin this nobody will help except crazyandconfused but that didnt help much (i had already checked everything on that site)
Logged

www.fleamutt.com - #1 Site!!!  Join now!!!


Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.522 seconds with 17 queries.