Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-17-2004, 06:03 AM   #1
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Rep: Reputation: 15
Passing a filename onto a program in Wine

How do i pass a filename onto a program?
Ive been using Quickpar which is a recovery system for rar,etc files.
When you double click a par file in windows quickpar automaticly checks the archive.
If I do this in KDE all that happens is Quickpar opens
I dont know what switches/arguments to use .

I need to find the wine eqivelant of this
"C:\Program Files\QuickPar\QuickPar.exe" "%1"

Its a bit like double clicking an mp3 and just xmms or winamp opening
and not loading up and playing the file

Last edited by Riichard; 11-17-2004 at 06:04 AM.
Old 11-17-2004, 09:05 AM   #2
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
wine "C:\Program Files\QuickPar\QuickPar.exe" -- filename.ext
Old 11-17-2004, 11:11 AM   #3
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
Theres got to be an easier way than typing it in for every new file?
If you find your Kmenu editor and the entry for xmms or amarok you will see the command
amarok %U %M or something like that (using windows now)
These commands (%U %M) pass the filename onto xmms etc so the program opens those files.

Its the equivelant if these commands that I need help with.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
passing passing variable in Java as reference djgerbavore Programming 3 11-10-2004 03:18 PM
Passing parameters to already running instance of a program saravkrish Programming 5 10-31-2004 03:19 PM
prompt for root password and passing to a program ludeKing Programming 4 08-23-2004 09:55 PM
DVD Shrink and Wine - Invalid Filename - Write Protected bbenvenuti88 Linux - Software 2 07-12-2004 12:07 PM
Passing external variables/arguments to SQL program ganninu Programming 12 11-25-2003 06:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration