Batch file just opens and closes when run
Hey I am running the following app through the command prompt,and it launches and signs into the app and begins to call for a data set correctly
cmd.exe
c:\
cd program files
cd rightfax
cd adminutils
cd faxrpt2
faxrpt2 -uusername -ppassword -(name of dataset) -v
it launches faxrpt2.exe and signs in and starts up the pulling of the access database.
I am trying to figure out how to run this as a batch file.
I thought i would just use
"C:\program files\rightfax\adminutils\faxrpt2>faxrpt2 -u(username) -p(password) -n(data set) -v"
All this does is when running it as a batch file it just opens the command prompt and closes it without launching the application, as far as I know.
I can launch the actual executable by using this and saving it as a batch file
"C:\program files\rightfax\adminutils\faxrpt2>faxrpt2.exe"
I wanted to know if there was a way to automate in a batch file actually signing into the app as when you use the commands in cmd.exe above.