Sign in to follow this  
Followers 0
Olish

_RunDOS doesn't work with msnmsgr.exe!

8 posts in this topic

Hello everybody,

I have a prblem with _RunDOS that dosn't work like the following codes:

_RunDOS(@ProgramFilesDir & "\MSN Messenger\msnmsgr.exe")
_RunDOS("C:\Program Files\MSN Messenger\msnmsgr.exe")
_RunDOS("msnmsgr.exe")

But it works with:

_RunDOS("dfrg.msc")

Where is the error?

Thank you a lot for helping me.

Olivier, from France.


Olivier, from France.Free Wake On LAN script

Share this post


Link to post
Share on other sites



Have u the include

#Include"Process.au3"

in your script


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

Im sorry i didnt think


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

I cant see any erros


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

#include <Process.au3>
_RunDOS('"' & @ProgramFilesDir & "\MSN Messenger\msnmsgr.exe" & '"')

You could also use the Run command to start it

Run(@ProgramFilesDir & "\MSN Messenger\msnmsgr.exe")
Edited by Jotun

Share this post


Link to post
Share on other sites

Thank you it works very well. It is very strange tha _RunDOS doesn't work... Should I report this bug?


Olivier, from France.Free Wake On LAN script

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Should I report this bug?

I consider as not a bug, as it is just your syntax usage with _RunDos. @Comspec is used in the UDF and you need to wrap the command in quotes if it has spaces which you initally did not do. This is standard stuff for using DOS. Edited by MHz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0