Are you going to use Schedule task?
If you are, you can add whatever parameter you want in command line.
For example, here is night disk cleanup batch file:
c:\etc\clean.bat C > c:\temp\clean.log
In my clean.bat, I accept the first parameter as driver letter...