Home / Microsoft / Microsoft DOS / how do you wildcards in IF statements?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: how do you wildcards in IF statements?  (Read 1485 times)
KFalcon
Guest
« on: September 12, 2004, 04:10:46 PM »

Is there a way I can put wildcards into this statement...

IF %1==(where I want to put wildcards) GOTO OK

I want to make it so that if someone enters in an IP address, (in the format of *.*.*.*) then the program will run

But it is taking the *'s literally... Is there another way?
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / how do you wildcards in IF statements? « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.093 seconds with 18 queries.