View Single Post
Old 22nd August 2021, 23:13   #22
Major Dude
ryerman's Avatar
Join Date: Mar 2010
Location: Canada
Posts: 746
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:
"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