Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

WindowsBatchScriptHelp

Name: COCKSUCKER !!0Mv4ibdzDPWUg/F 2007-07-25 14:39 ID:rgmuQY+q

Hey guys, is there a way in batch programming/scripting/whatever to get the first four characters of a variable? Like say I had this code:

@ECHO OFF
SET cocks=yummy

I would want it to return 'yumm'

Name: Anonymous 2007-07-25 19:15 ID:YxxJYZFc

%cocks:~0,4%

cmd.exe lol

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List