Jump to content


Run command


  • Please log in to reply
1 reply to this topic

#1 Guests

  • Guests

Posted 14 July 2012 - 06:38 PM

This works Run, C:\My folder\AutoHotkey info.txt, but this doesn't Run, AutoHotkey info.txt, C:\My folder I get MsgBox The script file "C:\My folder\info.txt" does not exist. Create it now? Yes/No Same error in this case Run, AutoHotkey logo.png, C:\My folder... whenever the first word is AutoHotkey.

#2 Lexikos

Lexikos
  • Administrators
  • 8841 posts

Posted 15 July 2012 - 02:17 AM

The Run command is doing exactly what is asked of it, but your question is ambiguous. You can remove this ambiguity by using quotation marks.
Run "AutoHotkey info.txt"
FYI, this will open info.txt in notepad:
Run notepad info.txt