MS DOS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs MS DOS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old April 4th, 2008, 01:46 PM
Jawah Jawah is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 1 Jawah User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 1 m 18 sec
Reputation Power: 0
Tricky command line thingy, can I have some help?

Hello!

OK, I'm left with a slight problem. I just can't do this whole command line business!

What I'm making is a toolbar for someone, for their web browser. Everything works and I've got a software package to make the main part of the toolbar for me.

But I need a button that can launch his BitTorrent client program.

The software package only allows you to, when trying to open an exe, specify two things: 1) The Exe name, and 2) any parametres to go with it.

The problem is that I don't know which BitTorrent client he's got. So I know that I can fathom it out like this:

1) Set the exe name as "cmd.exe" to open up the command line...

2) Put this is as the parametre values:

Code:
/k ftype BitTorrent


By putting that in, it pops up the Command Line and shows that BitTorrent files are associated with the program (in my case, my download manager, FlashGet - so for me it says "BitTorrent = "C:\Program Files\FlashGet\FlashGet.exe" "%1".

The problem I'm facing is how to get the computer to fathom out what his BitTorrent client is (solved), BUT THEN launch it, all in one Parameter line!

If anyone could tell me how to do this, then I'd be very appreciative :)

Thank you!

Reply With Quote
  #2  
Old May 2nd, 2008, 09:18 PM
wwjdcsk wwjdcsk is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 6 wwjdcsk User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 1 h 32 m 50 sec
Reputation Power: 0
you can concatenate multiple commands on one line with the '&&' operator

i.e.
echo abc && echo def

Reply With Quote
Reply

Viewing: Web Development Archives FAQs MS DOS > Tricky command line thingy, can I have some help?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway