Team_LX 3 Posted January 29, 2014 Report Share Posted January 29, 2014 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 ? Quote Link to post Share on other sites
blumi40 222 Posted January 29, 2014 Report Share Posted January 29, 2014 look at the $special folder options Quote Link to post Share on other sites
Team_LX 3 Posted January 29, 2014 Author Report Share Posted January 29, 2014 }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 Quote Link to post Share on other sites
k1lv9h 76 Posted January 29, 2014 Report Share Posted January 29, 2014 Hi, Sample code: shell("{$special folder("Desktop")}\\folder\\mail.exe") shell("cmd.exe /C {$special folder("Desktop")}\\folder\\mail.exe")Kevin 1 Quote Link to post Share on other sites
Team_LX 3 Posted January 29, 2014 Author Report Share Posted January 29, 2014 Hi, Sample code: shell("{$special folder("Desktop")}\\folder\\mail.exe") shell("cmd.exe /C {$special folder("Desktop")}\\folder\\mail.exe")KevinWorked thank you kind sir Quote Link to post Share on other sites
webpro 31 Posted February 2, 2014 Report Share Posted February 2, 2014 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 Quote Link to post Share on other sites
k1lv9h 76 Posted February 2, 2014 Report Share Posted February 2, 2014 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 Quote Link to post Share on other sites
webpro 31 Posted February 3, 2014 Report Share Posted February 3, 2014 Oddstill 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.