Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

SETDOS /X ?

$
0
0
I can't tell what the setdos /x value is so a BTM can work with files with "%" in the name?

Code:
COMMENT

        :: RunMe.btm

ENDCOMMENT

del /a:d /s /e /x /y *
Global /H /I /N /Q ( for %fn in (*) Gosub Dofile )
del /a:d /s /e /x /y *

QUIT

:Dofile
    set uExt=%@upper[%@ext["%fn"]]
    for /l %n in (1,1,9999) (
        iff not isfile "c:\ZZ_GM_PICS\%[uExt]_%@format[04,%n]\%fn" then
            move /a: /e /h /md "%fn" "c:\ZZ_GM_PICS\%[uExt]_%@format[04,%n]\"
            leavefor
        endiff...

Read more

Viewing all articles
Browse latest Browse all 1678

Trending Articles