But when i'm trying to open this batch file from an other c# Tool the Skript.R is not be load and the server is not starting.
Someone maybe no a solution therefore?
I'm not sure that I understand what you want to achieve, but to start a Shiny app from the command line you can use
cd /d C:\path\where\my\app\is
"C:\Apps\R\bin\Rscript.exe" app.R
assuming that your app is the file app.R.
In the app.R file, use shinyApp(ui = ui, server = server, options = list(launch.browser = TRUE))
If you want the application (and the Rscript) to stop after the user exited the Shiny application (closed the browser tab in which the application was running), add the following line to the "server" function