Recent

Author Topic: Suppress the Windows command shell in a DOS program?  (Read 445 times)

Xtra999

  • New member
  • *
  • Posts: 7
Suppress the Windows command shell in a DOS program?
« on: March 08, 2025, 09:02:04 pm »
Hi,
I'm currently writing a database reporting tool, which gets executed regularly by using the Windows Task Scheduler. Is it possible to suppress the shell window coming up on program start?

loaded

  • Hero Member
  • *****
  • Posts: 860
Re: Suppress the Windows command shell in a DOS program?
« Reply #1 on: March 11, 2025, 08:44:21 pm »
Hi,
I think this will solve your problem.
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

Weiss

  • Full Member
  • ***
  • Posts: 211
Re: Suppress the Windows command shell in a DOS program?
« Reply #2 on: March 13, 2025, 03:28:35 pm »
insert this directive 
Code: Pascal  [Select][+][-]
  1. {$APPTYPE GUI}

alpine

  • Hero Member
  • *****
  • Posts: 1387
Re: Suppress the Windows command shell in a DOS program?
« Reply #3 on: March 13, 2025, 04:46:26 pm »
Hi,
I'm currently writing a database reporting tool, which gets executed regularly by using the Windows Task Scheduler. Is it possible to suppress the shell window coming up on program start?
In Task Scheduler, “General” tab, under the “Security options” section, select the “Run whether user is logged on or not” option.
"I'm sorry Dave, I'm afraid I can't do that."
—HAL 9000

 

TinyPortal © 2005-2018