Computer Hope
Microsoft => Microsoft DOS => Topic started by: diablo416 on October 30, 2007, 09:12:47 PM
-
is there a way to get input character by character?
-
Input from where ??? ??? ??? ??? ??? ??? ??? ???
-
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.
-
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?