One of the quickest and easiest feature for the 4.5 client is being able to launch a command prompt from the virtual environment. I was one of them peps that also use to get annoyed when i had to modify the OSD file in 4.2 and earlier….
Now in 4.5 you can execute a command prompt for the said virtual package from the command prompt.
There are two steps we need to do however;
1) Find out the package short name 2) Launch the exe for the command prompt
So phase one, the quickest and easiest way of finding the package/application short name is doing an sftmime /query command. The below command will look at the virtual applications we have on the client and return the short names for that app.
sftmime.exe /query obj:app /short
For example, I ran the command on my test machine and this was the output
Now at this point i will mark one of the applications and copy the information to paste into the next command. So in the above case the following was returned;
Launch SlingPlayer 18.104.22.1682 Slingbox Setup Wizard 22.214.171.1242 Slingbox User Guide 1.0 Readme.htm 1.0 XML Notepad 2007 126.96.36.199 Beyond Compare 2 Help 1.0 Beyond Compare 2 188.8.131.52
and i will copy one of the applications, in this case “Launch SlingPlayer 184.108.40.2062” and use it to launch a command prompt for this application.
So how do we launch that command prompt?
we run the following command
Sfttray.exe /exe cmd.exe /launch "APPNAME"
Sfttray.exe /exe cmd.exe "APPNAME"
Where “APPNAME” in my example will actually be “Launch SlingPlayer 220.127.116.112”
So this will look like
sfttray.exe /exe cmd.exe /launch “Launch SlingPlayer 18.104.22.1682”
sfttray.exe /exe cmd.exe “Launch SlingPlayer 22.214.171.1242”
This will launch me a command prompt for me to start investigating services, regedits, and other cool tools to help you investigate some issues.
PingBack from http://www.ditii.com/2009/03/16/app-v-quickly-launching-command-prompt/