1. open folder 2. run program shortcut

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
jamesfui
Posts: 50
Joined: 27 Mar 2010 23:00

1. open folder 2. run program shortcut

#1 Post by jamesfui » 29 Mar 2010 05:46

Can bat do the following process:

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

thanks :D

avery_larry
Expert
Posts: 391
Joined: 19 Mar 2009 08:47
Location: Iowa

Re: 1. open folder 2. run program shortcut

#2 Post by avery_larry » 29 Mar 2010 12:48

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"

jamesfui
Posts: 50
Joined: 27 Mar 2010 23:00

Re: 1. open folder 2. run program shortcut

#3 Post by jamesfui » 30 Mar 2010 05:53

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

Post Reply