Altavista
Altavista

Reputation: 253

Can I run a GUI program in the background on the windows command-line?

I have Richcopy tool which i need to run in every after 5 minutes. I need to the application run in background instead of showing splash window.

Please help us.

Upvotes: 2

Views: 724

Answers (2)

Bali C
Bali C

Reputation: 31231

You can use a VBScript (save as .vbs) to run it hidden in the background

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run("richcopytool.exe"), 0, True

Upvotes: 1

Zombo
Zombo

Reputation: 1

Perhaps like this

schtasks -create -tn <name> -sc minute -mo 5 -tr <command> -ru system

ref

Upvotes: 1

Related Questions