[AccessD] OT: Batch File variable

Stuart McLachlan stuart at lexacorp.com.pg
Mon Feb 19 19:54:36 CST 2007


On 20 Feb 2007 at 12:26, Darren DICK wrote:

> Is there a way to declare a variable in a batch file?
> 
> EG varMonthYear = 200702 and then just 'tack' that to the end 
> 
> EG \\SomeServer\SomeCoolFolder\SomeCoolFileFilder\
> <file:///\\SomeServer\SomeCoolFolder\SomeCoolFileFilder\>  & varmonthYear
> 
> That way I only have to edit the variable
> 

Environment variables.

To set it:
SET varmonthyear = "200702"
to use it:
.... + %varmonthyear%






More information about the AccessD mailing list