Sep 30, 2008 #1 N noobman [H]ard|Gawd Joined Oct 15, 2005 Messages 1,475 Hey, I came across some strange syntax in a batch script. Code: A variable was used to store a directory, but instead of reading %MYDIRECTORY%, the variable read %MYDIRECTORY:)=^)% I cant seem to figure out what, if anything, the :)=^) does.
Hey, I came across some strange syntax in a batch script. Code: A variable was used to store a directory, but instead of reading %MYDIRECTORY%, the variable read %MYDIRECTORY:)=^)% I cant seem to figure out what, if anything, the :)=^) does.
Sep 30, 2008 #2 T taqueso Gawd Joined Mar 30, 2003 Messages 571 Is the line part of a set command? Can you post the entire line?
Sep 30, 2008 #3 P pxc Extremely [H] Joined Oct 22, 2000 Messages 33,063 Those just look like smilies. =^) Some context is needed since that's not a command, it's a (possible) user set environment variable with a strange name.
Those just look like smilies. =^) Some context is needed since that's not a command, it's a (possible) user set environment variable with a strange name.
Sep 30, 2008 #4 N noobman [H]ard|Gawd Joined Oct 15, 2005 Messages 1,475 nvm... it's character escaping. ( is replaced with ^(