Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C: drive and A: drive
#1
How would i make a macro compatible to run a program from a shortcut from both c and a drive..
Macro
Code:
Copy      Help
run "$program files$\LimeWire\LimeWire.exe" "" "" "*" ;;LimeWire PRO 4.18.3

Once i send it to my other computer it wont run this file... gives me an error... was wondering how i could make it so that no matter what computer that im on it will still start the program that i want to.. plus one PC is XP and the other one Vista...
Thanks for all the help!
#2
This should do the trick...

It's crude, but should work:

Function Function
Code:
Copy      Help
if(dir("a:\program files\PDF Complete\licensese.txt"))
,run "a:\program files\LimeWire\LimeWire.exe"


if(dir("b:\program files\PDF Complete\licensese.txt"))
,run "b:\program files\LimeWire\LimeWire.exe"


if(dir("c:\program files\PDF Complete\licensese.txt"))
,run "c:\program files\LimeWire\LimeWire.exe"


if(dir("d:\program files\PDF Complete\licensese.txt"))
,run "d:\program files\LimeWire\LimeWire.exe"

Don't know why the $program files$ doesn't reference the A: youv'e got on your other computer...Gint. will know why, maybe we'll get an answer.
#3
that didnt work
#4
Ah...that's because I pasted the the wrong effen code...sorry!

Function Function2
Code:
Copy      Help
if(dir("a:\program files\LimeWire\LimeWire.exe"))
,run "a:\program files\LimeWire\LimeWire.exe"


if(dir("a:\program files\LimeWire\LimeWire.exe"))
,run "b:\program files\LimeWire\LimeWire.exe"


if(dir("a:\program files\LimeWire\LimeWire.exe"))
,run "c:\program files\LimeWire\LimeWire.exe"


if(dir("a:\program files\LimeWire\LimeWire.exe"))
,run "d:\program files\LimeWire\LimeWire.exe"

I didn't mean to be sloppy!
#5
that doesnt work for me still
#6
Often you can use just

run "limewire.exe"


Forum Jump:


Users browsing this thread: 1 Guest(s)