Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Batch Files
Message
 
To
09/10/2007 17:06:50
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Windows
Category:
Computing in general
Title:
Miscellaneous
Thread ID:
01259878
Message ID:
01259902
Views:
18
Jay,

To pass a parameter, you pass it just like you pass a parameter to a vfp exe, then you use %1, %2, %3... to refer to the first, second, third... parameter

Also, do not forget you can use vbscript if the task is somehow complex

>It's probably been a decade since I needed to write a batch file. Is there a quick and diry reference someone knows for things like referencing a variable of the directory where the file is being run from, etc? Those are environmental variables, right?
>
>UPDATE: And how to send parameters to a batch file.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform