Minimized DOS Window when running a Schedule Task

I needed to do a ping to our VPN and I did it with a BAT file and a schedule task. The only problem I have is that this BAT file needs to be run every 15 minutes and it is really anoying for my users to see the MSDOS window pop-up every 15 minutes.

Everything New Technology 1823 This topic was started by ,


data/avatar/default/avatar01.webp

2 Posts
Location -
Joined 2004-08-19
I needed to do a ping to our VPN and I did it with a BAT file and a schedule task.
 
The only problem I have is that this BAT file needs to be run every 15 minutes and it is really anoying for my users to see the MSDOS window pop-up every 15 minutes. I have tried everything and still can make the (schedule) BAT run minimized,
 
Can anyone help?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar16.webp

1 Posts
Location -
Joined 2004-11-19
I got it to work. Simply create a shortcut to the bat file in the same directory which will create a .lnk file. Go to the properties of the lnk file and set it to run minimized. Then, go to the scheduled task and "manually" enter the path+file name of the .lnk file.
 
If you click browse to search for the lnk file, it won't work.
 
Then run the task and all you will see is a little flash or minimized icon on your taskbar while the bat does its thing.
 
Email me if you need help on this: henryparra@email.com