View Single Post
Old 23rd August 2021, 00:13   #22
ryerman
Major Dude
 
ryerman's Avatar
 
Join Date: Mar 2010
Location: Canada
Posts: 739
Try removing the double quotes around %1.

But you don't need WACommand.
Winamp responds to its own command-line arguments.
You can see them by typing "C:\Program Files (x86)\Winamp\winamp.exe" /? in a command window.

This BAT file should do what you want:
code:
"C:\Program Files (x86)\Winamp\winamp.exe" /RANDOM=0
"C:\Program Files (x86)\Winamp\winamp.exe" /REPEAT=0
"C:\Program Files (x86)\Winamp\winamp.exe" /CLEAR
"C:\Program Files (x86)\Winamp\winamp.exe" /ADD %1
"C:\Program Files (x86)\Winamp\winamp.exe" /PLAY



To avoid seeing the command window flash open and close:
  1. Create a Shortcut to the BAT file.
  2. Edit the Shortcut properties to Run:Minimized
  3. Send your file to the Shortcut.

Windows 10 Home, 64 bit, Winamp 5.666, Bento Skin
ryerman is offline   Reply With Quote