Run a shortcut in batch?
Solved
aurovic
Posted messages
15
Status
Membre
-
SGTherbert -
SGTherbert -
Hello
How to launch a shortcut in a .bat file knowing that it is possible to do so from scheduled tasks?
Thank you
o¿ô
Aurovic
How to launch a shortcut in a .bat file knowing that it is possible to do so from scheduled tasks?
Thank you
o¿ô
Aurovic
2 réponses
Hi,
Well, in your shortcut, you put your shortcut with the .lnk extension at the end. Nothing groundbreaking, it seems to me...
Michael.
Do not concern yourself with not being noticed; rather, aim to do something remarkable [Confucius]
Well, in your shortcut, you put your shortcut with the .lnk extension at the end. Nothing groundbreaking, it seems to me...
Michael.
Do not concern yourself with not being noticed; rather, aim to do something remarkable [Confucius]
Thank you for your response grofwa, but ......... it doesn't work!
I'm using "start" to launch this shortcut! Is that correct?
Here is my script too
@ echo off
REM *START OF PROCESSING*
REM *CHECK FILE PRESENCE*
cd\
cd C:\folder\folder\folder
REM *EXECUTE*
START "shortcut.lnk"
REM *END OF PROCESSING*
@Echo off
I'm using "start" to launch this shortcut! Is that correct?
Here is my script too
@ echo off
REM *START OF PROCESSING*
REM *CHECK FILE PRESENCE*
cd\
cd C:\folder\folder\folder
REM *EXECUTE*
START "shortcut.lnk"
REM *END OF PROCESSING*
@Echo off
Do you use START to launch the application or something else?
o¿ô
Aurovic
USE the following syntax grofwa:
START shortcutName (without the .lnk extension)
It wasn't working for me either otherwise (win xp pro sp1)
good luck!