Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Does start /wait work?

Featured Replies

Does anyone know if 'start /wait' command works in WPI?

I havent tested it, but thought Id check to see if anyone else is using it without issue..

For example:

start /wait "Title" C:\whatever.cmd

Which of course will keep anything else from executing until the 'whatever.cmd' completes.

Thanks!

im not sure if it does but i would think it would since wpi just clones the runonceex method when it installs the progs

i've tried this and it doesn't work

The command i use is this

%windir%\\system32\\cmd /c start /wait %CDROM%\\Apps\\activesync\\setup.exe /s

You need to call cmd as otherwise start doesn't isn't called, the /c, is so the the dos box terminates on end

i've found the other apps in order after it are just run.

Put the "Title In Quotes" before the /wait statement, not after it.

Looks like you're quote refences a line from a registry file (judging from the double backslashes "\\"). Try loading up the registry file and looking at the results in regedit directly. Make sure it ends up the way you expect. I.e.:

%windir%\system32\cmd /c start "ActiveSync Install" /wait "%CDROM%\Apps\activesync\setup.exe" /s

Edited by Nois3

And what if your not using a title of the dos box?, which i'm not.

Having looked at the start /? your correct in that it should be

/start "tilte" /wait <command to run>

  • Author

not sure if it was just a typo or not, but you want to make sure you take off the leading slash. also, from what Ive gathered, because its a shell command you need to call it though that...

cmd /c start "" /wait "command to run"

No.

It's simply because the start command expects the first set of quotes to define the title. It doesn't change the title of the command prompt, in fact I don't know what it does.

What I do know is that if you don't use it this way you'll run into problems. Especially if your first set of quotes is used to specify the program name and you need to use quotes in that programs command line.

  • Author

Actually, a title isnt necessarily required. The only time its required is when you use quotes for your program/command, of which you only need to use if there are spaces in either the program name or path. So when you do use quotes, the start command expects the 1st set of quotes to be the title and the second set of quotes for the command to run. Lastly, you dont need to actually need to put in a title description, using 2 double quotes will also suffice.

So.. the following all work.

start /wait c:\blah.cmd
start /wait "this is my title" c:\blah.cmd
start /wait "title title" "c:\blah.cmd"
start /wait "" c:\blah.cmd

You get the point....

Oh 2 other things... the title does in fact set the title bar of the command prompt window the command is running in; its the only function it serves and it doesnt matter if you place it before or after the '/wait' parameter.

Edited by durex

durex, your right was sa typo that put the / in front of start.

Did you manage to get this working? as i've plugged away and so far no luck.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.