

InterviewSolution
Saved Bookmarks
1. |
Solve : Running shortcut with target? |
Answer» <html><body><p>I need to run a shortcut or program to load so I don't have to manually access it. The file I am using is a batch file to load all my start programs in the morning. I use /pause between each program to give each one time to load so I can easily show in what <a href="https://interviewquestions.tuteehub.com/tag/order-238912" style="font-weight:bold;" target="_blank" title="Click to know more about ORDER">ORDER</a> I open my programs if a issue arises. It helps to be consistent.<br/><br/>The only problem software I have is one that has something like this:<br/><br/>"C:\Program Files\program1.exe" /launch "Program 2"<br/><br/>How in the world can I get a batch file to load it? I would even be willing to make a short cut but the short cut gives that <a href="https://interviewquestions.tuteehub.com/tag/plus-591752" style="font-weight:bold;" target="_blank" title="Click to know more about PLUS">PLUS</a> a separate "start in" folder. <br/><br/>Thanks all! Quote from: armymil on June 24, 2010, 06:52:49 AM</p><blockquote><br/>"C:\Program Files\program1.exe" /launch "Program 2"<br/><br/></blockquote> <br/>I have not tested the following:<br/><br/>( Try a different placement to the quote symbols. )<br/><br/>1) "C:\Program Files\program1.exe /launch Program 2"<br/><br/>or<br/>2) Use Call instead of Start. You might call a Label and not another batch.<br/><br/>Good Luck<br/><br/>:label<br/>"C:\Program Files\program1.exe /launch Program 2"<br/>I tried them both. It didnt seem to work. <br/><br/>The program 1 is softgrid. The program 2 is software that <a href="https://interviewquestions.tuteehub.com/tag/loads-1076721" style="font-weight:bold;" target="_blank" title="Click to know more about LOADS">LOADS</a> from it. cd C:\Program Files\Microsoft Application Virtualization Client\<br/>call "sfttray.exe" "Program 2"<br/>pause<br/><br/><br/>This solved issue. The call feature <a href="https://interviewquestions.tuteehub.com/tag/helped-2697962" style="font-weight:bold;" target="_blank" title="Click to know more about HELPED">HELPED</a>.</body></html> | |