Page 1 of 1

1. open folder 2. run program shortcut

Posted: 29 Mar 2010 05:46
by jamesfui
Can bat do the following process:

1. Open only folder / directory & Display in Windows style?
2. Start / run on Program Shortcuts?

thanks :D

Re: 1. open folder 2. run program shortcut

Posted: 29 Mar 2010 12:48
by avery_larry
I'm not sure I understand your questions . . .

1) explorer "c:\path you want to open"


2) start "" "c:\documents and settings\all users\start menu\programs\internet explorer.lnk"

or if it's in the path, just:

start "" "winword"

Re: 1. open folder 2. run program shortcut

Posted: 30 Mar 2010 05:53
by jamesfui
Sorry with the miss understanding there :oops:
both ok now cz earlier i input the wrong path, so make the bat not working!
thanks for your support! appreciate it :D