| View previous topic :: View next topic |
| Author |
Message |
sugardaddy
Joined: 05 Aug 2006 Posts: 41
|
Posted: Fri Sep 04, 2009 9:26 pm Post subject: Command works from DOS prompt but not from RunWait |
|
|
This call works when done from the dos prompt, but not when called from AHK... | Code: | | id3 -q "%l;%a;%t;%g;%c" "*.mp3" > temp.txt |
- I know to put ticks in front of the percent signs to escape them, and
- I tried putting quotes around all the stuff after the command (i.e. id3), but nothing worked.
- I also made sure my AHK file was in the ID3 folder so relative paths could be used.
- I tried putting an ".exe" after the command as well.
- I also tried splitting off the attributes string into a separate variable.
- I also tried not using semi-colons as the delimiter.
Does anyone see something I missed?
(Obviously some of you don't have this particular executable, but I thought some might be able to see something for me to try right off the bat.) |
|
| Back to top |
|
 |
Leef_me
Joined: 08 Apr 2009 Posts: 5333 Location: San Diego, California
|
Posted: Fri Sep 04, 2009 9:36 pm Post subject: |
|
|
This works for me, YMMV; but I suggest you read the thread below
| Code: | k = dir c:\progra~1\excel.exe >C:\found.txt
clipboard:=k
sendinput %clipboard%
send {enter}
|
problem with characters sent to CMD window
http://www.autohotkey.com/forum/viewtopic.php?t=48343 |
|
| Back to top |
|
 |
purloinedheart
Joined: 04 Apr 2008 Posts: 537 Location: Canada
|
Posted: Fri Sep 04, 2009 10:13 pm Post subject: |
|
|
Doesn't even run from a batch file, that's pretty weird I think
On a side note I just made a program that does this today
Tell me if it doesn't work out for you |
|
| Back to top |
|
 |
BoBoł Guest
|
Posted: Fri Sep 04, 2009 10:27 pm Post subject: |
|
|
| Code: | MsgBox % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt"
Run, % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt" |  |
|
| Back to top |
|
 |
purloinedheart
Joined: 04 Apr 2008 Posts: 537 Location: Canada
|
Posted: Fri Sep 04, 2009 10:42 pm Post subject: |
|
|
@Bobo - Does not produce any output
| Code: |
FileAppend % "id3 -q ""%l;%a;%t;%g;%c"" ""*.mp3"" > temp.txt", Run.bat
run run.bat
|
Temp.txt >>
when run from prompt
Temp.txt >> | Code: | | gorillaz;Gorillaz;5/4;Other; |
|
|
| Back to top |
|
 |
sugardaddy
Joined: 05 Aug 2006 Posts: 41
|
Posted: Tue Sep 08, 2009 3:06 am Post subject: |
|
|
| @PurloinedHeart, I'd love to see what you have put together. I'd like to get this working, but maybe what you have could be of help, too. |
|
| Back to top |
|
 |
|