wildcards as command arguments ?

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
hrx

wildcards as command arguments ?

Post by hrx »

Hello,

i´m using an external crc checker. now i´m to let it check the sfv file within a directory without entering the dir. i´m using the folowing arguments:

$(FullPath)$(Name)\00-$(Name).sfv

everything works fine so far. but sometimes the beginning of the sfv file is not 00- but 00_. that´s where wildcards come into play. is it possibile to set wildcards as ? or * in the arguments and pass them to the command line?

i tried but had no luck. so perhaps you have some advice.

thank you
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post by Petr Solin »

You can enter * or ? to arguments, it will not be changed (external crc checker will receive them). If it is not designed to work with masks, you still can use simple batch file (e.g. runcrcchecker.bat), something like (may need some corrections, I did not tested it):

Code: Select all

if EXIST "00_%1" goto label1

here use 00-%1

goto end
:label1

here use 00_%1

:end
Post Reply