1.

Solve : Executing a program, folder, document after a time specified?

Answer»

Oh thanks, Devcom. Completely forgot about that. Quote from: Carbon Dudeoxide on May 03, 2009, 08:18:47 AM

You might want to have a look at the WAIT command (not included with Windows).

That command is used in the bat created by Startup Manager, but it's not with time, only begin the next when the last has finished.
Quote from: devcom on May 03, 2009, 10:22:22 AM
or you can use this:

Code: [Select]ping -n 1 -w 5000 1.1.1.1 >nul
it will wait 5 sec, so you can use this a wait

I'll try. Now I have a little problem. I don't remember how to resolver but I have resolved in the past.
I see the DOS windows while i'm executing the bat. I would like an invisible command window.

Where can i find more information about ping ?

Thanks
Excuse my LANGUAGE. I'm from Canary Islands
try ping /? in cmd, ping is used to test connection etc., but this is the easiest way to make wait Quote from: devcom on May 03, 2009, 12:45:32 PM
try ping /? in cmd, ping is used to test connection etc., but this is the easiest way to make wait

okis, a trick
I'm using ping, but in this bat I don´t get the CLEAN window finally .
What can i do ?

M:\Archivos de programa\AutoCAD 2002 Esp\acad.exe
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
"M:\Archivos de programa\Procuno\BTwin\BtWin.exe"
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
Y:\Ingenieria
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
Y:\GABINETE\PROYECTOS
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
M:\Documents and Settings\JOSE\Escritorio\Utilidades Varias\RunGoldmine.bat
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
M:\Documents and Settings\JOSE\Datos de programa\Microsoft\Internet Explorer\Quick Launch\Mostrar escritorio.scf
M:\Documents and Settings\JOSE\Escritorio\Utilidades Varias\mm\Menu Gabinete.doc
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
ping -n 1 -w 5000 1.1.1.1 >nul
M:\Documents and Settings\JOSE\Datos de programa\Microsoft\Internet Explorer\Quick Launch\Mostrar escritorio.scf
M:\Documents and Settings\JOSE\Datos de programa\Microsoft\Internet Explorer\Quick Launch\Mostrar escritorio.scf

******
Mostrarescritorio.scf is equivalent to ShowDesktop.scf in english

Thanks
Excuse my language. I'm from Canary Islands The batch file doesn't make any sense.

All the 'waiting' is useless and unnecessary.

What is the batch file SUPPOSED to do. Can you talk us through it?@Esgrimidor
ping -n 1 -w n*1000 1.1.1.1 >nul

where n is number of seconds to wait

and what do you mean by "clean window", you mean cls command ?Quote from: Carbon Dudeoxide on May 04, 2009, 07:00:44 AM
The batch file doesn't make any sense.

All the 'waiting' is useless and unnecessary.

What is the batch file supposed to do. Can you talk us through it?

Is for open a lot of programs I use in my WORK to be prepared.
Quote from: devcom on May 04, 2009, 07:10:08 AM
@Esgrimidor
ping -n 1 -w n*1000 1.1.1.1 >nul

where n is number of seconds to wait

and what do you mean by "clean window", you mean cls command ?

A fellow answer that is

Start work.bat /MIN

this parameter is not possible in the bat created with yLaunch2
but it's possible inside the bat created.

Perhaps is better express as Show Desktop


Discussion

No Comment Found