Jump to content
UBot Underground

Running a file from specific folder on desktop


Recommended Posts

Ok how would i do this it will work fine on my pc but when setting it there is one issue 

 

C:\Users\cats/Desktop\Folder\mail.exe

 

How would i wildcard the users in this example its cat how can i make i so it doesn't matter what the user name is it will still open the file ?

 

 

 

Link to post
Share on other sites

 }
define gmail12 {
    shell("{$special folder("Desktop/WHMCS License King")} / Gmail.exe")
}

 

this is what i got 

 

i am running a define from a button ( in a shell of course ) that will then go to desktop go within that folder and run the Gmail.exe file 

 

the above not working i tried many other things still no go 

Link to post
Share on other sites

Hi,

 

Sample code:

shell("{$special folder("Desktop")}\\folder\\mail.exe")
shell("cmd.exe /C {$special folder("Desktop")}\\folder\\mail.exe")

Kevin

  • Like 1
Link to post
Share on other sites

Sorry for bumping into your thread but this ain't working on my end ?

shell("cmd.exe/C:\\Program Files (x86)\viewer\\Theviewer Viewer.exe")

Of course, i need to launch "Theviewer Viewer.exe" located under

\Program files (x86)\viewer\

 

Thanks

Link to post
Share on other sites

shell("cmd.exe/C:\\Program Files (x86)\viewer\\Theviewer Viewer.exe")

 

Try this for 32bit app installed on 64bit Windows:

shell("{$special folder("Program Files")} (x86)\\viewer\\Theviewer Viewer.exe")

or

shell("cmd.exe /C {$special folder("Program Files")} (x86)\\viewer\\Theviewer Viewer.exe")

Kevin

Link to post
Share on other sites

Odd

still ain't working. I'll try to figure out what the heck is going wrong.

Maybe it has to do with the name of the .exe (Caps and space) ?

 

Thanks Kev

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...