dmonckton Contributor


Joined: 09 Aug 2002 Posts: 117 Location: Lewes, U.K.
|
Posted: Mon Feb 14, 2011 9:21 am Post subject: C.R. for batch files |
|
|
Hi All
I've been trying to replicate the below trick by writing directly in to the registry but I can't do it!
| Quote: | Here's a neat trick.
Right-click on My Computer | Properties | Advanced tab | Environment Variables button.
Under System Variables, click New. In the Variable name type something like CR. Make
sure NumLock is on, in the Variable value field, press and hold the ALT key, now press
and release the 1 key on the number pad and then the 0 key on the number pad, now
release the ALT key. You should get a Square. Click OK.
Now in your batch file whenever you want a carriage return, use %CR%. |
Whatever I try I end up with a nul between the D9 and the 25. Any ideas?
Thanks
David...
| Description: |
|
| Filesize: |
69.09 KB |
| Viewed: |
3906 Time(s) |

|
|
|