1.

Solve : zVariables for batch files?

Answer»

:)Please if someone could explain me how to use variables for doing batch files.
I have looked for something but doesn´t work.
I would really tank your help.I just gave an example in another thread, here's a copy.

If you're in a batch file, you use parameters. For instance, if you wanted to RUN DIR and save the directory specification in an environment variable...


dir %1
set PARAMETER=%1

To invoke the batch JOB, an example is:

TEST C:\TEMP

When it runs, PARAMETER in the environment will contain C:\TEMP



Discussion

No Comment Found