Runs a batch file
2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), Azure
(N)=Native
(I)=Integrated
call <filename>
<filename> Filename of the batch file to run
call c:\scripts\CreateReports.rsb
The above command will run the following batch file c:\scripts\CreateReports.rsb
call "c:\scripts\Create Reports.rsb"
As there is a space in the filename it is enclosed in quotes. The above command will run the following batch file c:\scripts\Create Reports.rsb
•The extension of the file can be called anything. Its is recommended that it is not called .bat so it is not executed from a command prompt by accident.
•The recommended extension name is rsb (reporting services batch)
•enclose the name in quotes if there is spaces in the filename
•Best practice: Do not have a space in the name but capitalise the first letter of each work eg.
batch file called "create reports.rsb" rename to CreateReports.rsb