Sandra Smith
asked on
Bat file - what does a phrase after START mean
I have the below, but am wondering what purpose does the phrase "LMR" server after the START command?
@ECHO Starting LMR_FE...
@ECHO OFF
SET LOCAL_PATH="C:\Temp"
SET SERVER_PATH="\\sf1\user1\s hared\Depo sitService s\CIA\SOS_ APPLICATIO NS\Databas e_FrontEnd s"
SET APP_FILE_NAME="LMR_FE.mdb"
:buil_dpath
if not exist %LOCAL_PATH%\ (mkdir %LOCAL_PATH%)
goto copy_app_file
:copy_app_file
xcopy /y/c/q %SERVER_PATH%\%APP_FILE_NA ME% %LOCAL_PATH%
goto copy_images
:copy_images
goto launchapp
:launchapp
BELOW-WHAT PURPOSED DOES "LMR" serve?
START "LMR" /B /REALTIME %LOCAL_PATH%\%APP_FILE_NAM E%
:exit
EXIT
Sandra
@ECHO Starting LMR_FE...
@ECHO OFF
SET LOCAL_PATH="C:\Temp"
SET SERVER_PATH="\\sf1\user1\s
SET APP_FILE_NAME="LMR_FE.mdb"
:buil_dpath
if not exist %LOCAL_PATH%\ (mkdir %LOCAL_PATH%)
goto copy_app_file
:copy_app_file
xcopy /y/c/q %SERVER_PATH%\%APP_FILE_NA
goto copy_images
:copy_images
goto launchapp
:launchapp
BELOW-WHAT PURPOSED DOES "LMR" serve?
START "LMR" /B /REALTIME %LOCAL_PATH%\%APP_FILE_NAM
:exit
EXIT
Sandra
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So, do I really need to keep it? someone else built this and I am trying to pare it down to what is really necessary.
Sandra
Sandra
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you all for the information. I am getting rid of it as it does seem unnecessary. Share points as all answers helped me understand what was going on.
Sandra
Sandra
In your case i do not understand why it is specified, as the "/B" option prevents the creation of a new window (with the new title).