![]() |
| | #1 |
| Registered User Join Date: May 2007
Posts: 15
| Batch file @echo off start "address for mozilla" start "address for aim" start "address for mail program" Such like that, now it works quite fine except that it will not start the programs outside of windows commands prompt. Which of course is not what I want. How can I get them to actually start as if I had double-clicked on the shortcut? |
| HunterCS is offline | |
| | #2 |
| CSharpener Join Date: Oct 2006
Posts: 5,336
| You can use WSH, write small VBS or JS file that will do the same... This file will work also when clicked in explorer... You can start reading from this link http://msdn.microsoft.com/library/de...invokeverb.asp or this for more simple version http://msdn.microsoft.com/library/de...invokeverb.asp
__________________ If I have eight hours for cutting wood, I spend six sharpening my axe. |
| vart is offline | |
| | #3 |
| Registered User Join Date: May 2007
Posts: 15
| uhg that confuses me, maybe I'm not quite at the level yet to use this board. |
| HunterCS is offline | |
| | #4 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,710
| start "C:\Program Files\Mozilla Firefox\firefox.exe" For example. |
| Salem is offline | |
| | #5 |
| Reverse Engineer Join Date: Aug 2005 Location: Estonia
Posts: 2,260
| Start does work as clicking on an icon. It performs ShellExecute as clicking on an icon does. Good point, Salem.
__________________ The duck is irrelevant to my point. |
| maxorator is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie homework help | fossage | C Programming | 3 | 04-30-2009 04:27 PM |
| sequential file program | needhelpbad | C Programming | 80 | 06-08-2008 01:04 PM |
| Possible circular definition with singleton objects | techrolla | C++ Programming | 3 | 12-26-2004 10:46 AM |
| System | drdroid | C++ Programming | 3 | 06-28-2002 10:12 PM |
| Need a suggestion on a school project.. | Screwz Luse | C Programming | 5 | 11-27-2001 02:58 AM |