Search found 5 matches

by plp626
19 May 2011 07:50
Forum: DOS Batch Forum
Topic: new functions: :chr, :asc, :asciiMap
Replies: 35
Views: 189777

Re: new functions: :chr, :asc, :asciiMap

GBK test:

Code: Select all

亗儎厗噲墛媽崕彁憭摂晼棙櫄洔潪煚
by plp626
05 Apr 2011 12:35
Forum: DOS Batch Forum
Topic: strLen boosted
Replies: 26
Views: 85533

Re: strLen boosted

very nice! the list FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210^ ........ 3333333333333333222222222222222211111111111111110000000000000000 it's a bit long. i replace it by FEDCBA9876543210 and get this code, it's shorter and efficient. :strlen setlocal enabledelayedexpansion set...
by plp626
03 Apr 2011 13:11
Forum: DOS Batch Forum
Topic: new functions: :chr, :asc, :asciiMap
Replies: 35
Views: 189777

Re: new functions: :chr, :asc, :asciiMap

0x09 = TAB - didn't know how to produce it (never tried it, my editor didn't remove it) ========================= TAB can be produced with the 'cacls|find " /R user"' or 'reg query hkcu\environment /v temp |find /i "temp"' method here is the function (my OS is XP. test OK!) :BL....
by plp626
02 Aug 2009 05:49
Forum: DOS Batch Forum
Topic: Open a program but hidden
Replies: 3
Views: 7286

OS: XP

Code: Select all

@if %1* neq 0* mshta vbscript:createobject("wscript.shell").run("%~s0 0",0)(window.close)&exit
rem your program begin
by plp626
17 Apr 2009 01:18
Forum: DOS Batch Forum
Topic: what is %~f0
Replies: 4
Views: 25649

Run this script:

Code: Select all

@echo %%~f0 is %~f0
@pause