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.

CMD program run background

Featured Replies

Hi ,

Can anyone tell me how to run a program in background in command prompt.For eg:if i have to run an example.exe in command prompt without the command prompt being show,what i have to do?Thanks in advance..

VBS script is what you want.

Example 1 no spaces in path

Dim Act :Set Act = CreateObject("Wscript.Shell")
Act.Run("C\FolderOne\YourExe"),0,True

Example 2 spaces in path

Dim Act :Set Act = CreateObject("Wscript.Shell")
Act.Run(Chr(34) & "C\Folder One\Your Exe" & Chr(34)),0,True

  • Author

Thanks for the reply.

I may explain my need.I want an app to run in startup.But i wish it to run after 4 minutes of startup.So i thought of writing a batch file which has a pause of 4 minutes and then calls the app.then i will put this in the startup.But if i do this as explained,a command window will pop up at startup and will wait till the execution completes.But i want to do this silently without the user being known of it.Is there any way to do this.I dont want to do this using scheduled task.Also i will like to know how this is done in windows as it is done in linux.

Thanks in advance..

What app, (or at least what type), is it?

If the app' has a commandline interface as opposed to GUI its execution may need to be implemented differently.

  • 2 weeks later...

Look at the command switches for cmd.

cmd /?

cmd -q "example.exe"

I think, but the documentation is pretty good.

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.