Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > Executing .exe file Threw SQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-08, 13:23
NotHere NotHere is offline
Registered User
 
Join Date: Jun 2008
Posts: 3
Executing .exe file Through SQL

Hi, I read in another thread that you cant execute like GUI applications like notepad.

Thats fine with me, what I want to know is if there is a way I can EXECUTE a file located lets say in 'C:\program files\games\testing.exe' threw the SQL with some kind of Query?

I just want to be able to run the file, I don't need to click on it or anything, I just want it to run.

Thanks.

Last edited by NotHere : 06-02-08 at 14:24.
Reply With Quote
  #2 (permalink)  
Old 06-02-08, 13:34
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 13,539
threw? you mean, through?

are you sure it's an EXE file?

maybe it's a TXT or SQL file?

you're not using notepad to connect to mysql, are you?

what front-end application are you using?

or are you one of these command line wizards?
__________________
r937.com | rudy.ca

pre-order my book Simply SQL from Amazon
Reply With Quote
  #3 (permalink)  
Old 06-02-08, 13:37
NotHere NotHere is offline
Registered User
 
Join Date: Jun 2008
Posts: 3
Yes I do mew through sorry.

I connect to the database with 'SQLyog', and what I want to know is, if I can execute a .exe file with a QUERY of some kind. I want to be able to execute a file with the .exe extension on the SQL server PC.

Get what I am saying?
Reply With Quote
  #4 (permalink)  
Old 06-02-08, 14:58
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 13,539
no, i don't get it

what exactly does your EXE file do?

why don't you just run it? what's SQL got to do with it?
__________________
r937.com | rudy.ca

pre-order my book Simply SQL from Amazon
Reply With Quote
  #5 (permalink)  
Old 06-02-08, 15:22
NotHere NotHere is offline
Registered User
 
Join Date: Jun 2008
Posts: 3
OK, the SQL is at a friends PC. He hosts the Database for a game that we play. For the time being we dont have a Dedicated Server but we planning on getting one soon. The problem is the game crashes sometimes, and we need to find a way for me to be able to RUN the .exe files that launch the game windows so we can connect to the game again. Now, I need to find a way to run .EXE file from through a QUERY live or something. There is not other way for me to connect to his PC because remote desktop don't seem to work.

You kinda understand what I am trying to do now?
Reply With Quote
  #6 (permalink)  
Old 06-02-08, 23:58
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 13,539
no, not me, i still don't understand what this has to do with queries

good luck

__________________
r937.com | rudy.ca

pre-order my book Simply SQL from Amazon
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On