2 followers Follow
0
Avatar

Allow passing parameters to tasks

It would often be useful to pass parameters to scripts, especially when executing a one-time task.

For example, if I need to use a disk tool, I currently have to modify the script to change the drive:
'fsutil resource setautoreset true C:\' 

must become 'fsutil resource setautoreset true N:\'

Being able to pass parameters lets me just do:
'fsutil resource setautoreset true %1:\'
then specify the drive when I run the script.

Ryan Frame

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Ryan,

From where would you like to change those parameters, you can just create a script that do this or set the environments on your machines.

 

//Support

IT-Man 0 votes
0
Avatar

I guess I envision a textbox in the start task dialog allowing me to enter parameters:

Ryan Frame 0 votes