Program Auto-start Delay

RADIO Player Pro support and discussion
Post Reply
Radiosoft
Forum admin
Posts: 43
Joined: Thu Mar 20, 2003 4:33 pm
Location: Russia, Omsk
Contact:

Program Auto-start Delay

Post by Radiosoft »

Sometimes Windows needs time to initialize devices on startup (e.g. HASP dongles or external sound cards), which can prevent applications from starting correctly if they require those devices to be fully ready. Use one of the methods below to delay the program auto-start.

To start a specific profile, add /Data="path_to_profile_folder" to the shortcut.

Method 1 — /Delay parameter

Add /Delay=X to the program shortcut, where X is the delay in milliseconds.

Example — RADIO Player Pro, 1-second delay:

Code: Select all

Player.exe /Delay=1000
Method 2 — Batch file (Windows XP/Vista/7/8/10/11)
  • Remove the program from the Windows startup list (if it was placed there).
  • Create a batch file start.bat in the program installation folder (or any other folder — in that case specify the full path to the executable, using quotes for paths with spaces).
  • Add the following lines (adjusts the delay via the -n value — number of seconds + 1):

Code: Select all

ping 127.0.0.1 -n 11 > nul
Player.exe
This gives a 10-second delay. Change -n 11 to adjust (value = delay in seconds + 1).
  • Place start.bat in the Windows startup folder to have it launch automatically on login.
Method 3 — Task Scheduler (Windows 7/8/10/11)
  • Open Task Scheduler.
  • Click Create Task...
  • Enter any task name.
  • In the Triggers tab, create a trigger: Begin the task: At log on. Enable Delay task for: and set the desired delay time.
  • In the Actions tab, set Start a program and specify the path to the executable.
  • In the Settings tab, uncheck Stop the task if it runs longer than.

Post Reply