4

i'm working on creating a batch file to run c# console execution file which on it , i connect to CRM with 3 params : the url , login and then password

My issue is that i couldn't write the bat code , i found this example every where

@echo off C:\Users\xxx\appname.exe %param1 %param2 %param3

i save my bat file but when i open it nothing is happened is it supposed to open window like cmd? how could i found my console success notes that i mentioned in my code? Please help

2
  • Why would that work. Stop finding and start reading. This is abusive. Commented Dec 13, 2016 at 8:50
  • 1
    This isn't even related to C#. Batch files and parameter syntax is explained TechNet, Windows Help, numerous duplicate questions like this Commented Dec 13, 2016 at 8:56

1 Answer 1

8

Put it on two lines, because they are two commands:

@echo off
C:\Users\xxx\appname.exe %param1 %param2 %param3
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.