Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: anyway to..  (Read 2358 times)

0 Members and 1 Guest are viewing this topic.

diablo416

  • Guest
anyway to..
« on: October 30, 2007, 09:12:47 PM »
is there a way to get input character by character?

Dusty



    Egghead

  • I could if she would, but she won't so I don't.
  • Thanked: 75
  • Experience: Beginner
  • OS: Windows XP
Re: anyway to..
« Reply #1 on: October 31, 2007, 12:07:37 AM »
Input from where ??? ??? ??? ??? ??? ??? ??? ???
One good deed is worth more than a year of good intentions.

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: anyway to..
« Reply #2 on: October 31, 2007, 10:48:47 AM »
is there a way to get input character by character?

Are you using WinXP?
Is this to be within a batch file?
Did you mean to get input from the user, via the keyboard?
After you get the input, did you mean to save it in a variable?


In the meantime, you might like to check out:
http://www.computerhope.com/sethlp.htm
Be sure to see the part about the  /P   switch.
It might be what you are looking for.     Let us know, please.
.



diablo416

  • Guest
Re: anyway to..
« Reply #3 on: November 01, 2007, 06:16:49 AM »
thanks but what i mean is , input from a file from a user..

say you have a file with this in it

sofdss ssssssss ssssskfodsfkdsodsfdsofm dsosanvnaioamzl
sfodkfdsojsaninrstnoinweonweiowniowemrw rmwrwmorwpw.

i want to be able to take a word, divide all its letters
just without doing this .. 
for /f "tokens=1 %%a in ('type %temp%\trr') do set a=sofdss sssssss ss ssskodfksokd ect...
set a=%a:~0,1%
set b=%a:~1,1%
ect..

so it could take the input from me and shift all the letters around as a cheesmo method of encryption?

is their any better way of doing this?