Jump to content

Witch command to run file


Recommended Posts

Is today dont tell anyone the exact answer day? You guys have me cracking up.

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to post
Share on other sites
  • Developers

Ive tryed that, but its saids:

Run ("C:\Nightwish - The Kinslayer.mp3")

Error: Unable to execute the external program.

<{POST_SNAPBACK}>

mp3 isn't a program

you could try:

run(@comspec & '  /c start "C:\Nightwish - The Kinslayer.mp3"')

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

mp3 isn't a program

you could try:

run(@comspec & '  /c start "C:\Nightwish - The Kinslayer.mp3"')

<{POST_SNAPBACK}>

remember start's different on different os's on the NT flavoures you need to have the extra item in quotes in there for title:
run(@comspec & '  /c start "Playing a song, a happy happy song" "C:\Nightwish - The Kinslayer.mp3"')

if you want to play the mp3, you could search the helpfile for something that rhymes with SoundPlay()

"I'm not even supposed to be here today!" -Dante (Hicks)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...