PPRuNe Forums

Go Back   PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Forgotten your Username/Password?


Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. We will also try and help with troubleshooting any technical problems you may have with the forums.


Reply
 
Thread Tools
Old 30th May 2008, 08:19   #1 (permalink)
 
Join Date: Jun 2006
Location: BRISTOL!
Age: 28
Posts: 539
Opening DOS application XP

Hey

Need some help...

I open the MYSQL DOS Application from MYSQL a fair bit each day, but Its driving me mad each time having to type its location in, considering its about 9 folders deep

Is there a way i can create a shortcut, but inject an opening command?

This is the structure...

c:/folders///////bin/mysql.exe

but if this run this direct from xp it closes, as it needs commands -u username -p to run and request password...

Any ideas?
planecrazy.eu is offline   Reply
Old 30th May 2008, 09:52   #2 (permalink)

PPRuNe Spoonerist
Moderator
 
Join Date: Sep 2003
Location: Twickenham
Posts: 5,441
In the "target" line of the shortcut, can you not just add the switches you need?

If you need to see the output before it disappears, you could create a batch file, enter your required command and then have "pause" on the next line.

SD
__________________
You can't have everything - where would you put it?
Saab Dastard is offline   Reply
Old 30th May 2008, 17:14   #3 (permalink)
 
Join Date: Nov 2007
Location: Zurich
Age: 54
Posts: 17
you could configure a DOS command line window to be opened at the desired location (right click on desktop to create a new shortcut starting "cmd", and then specify the starting directory in the properties of this new cmd shortcut). This, if you don't only want the application to be executed (following saab's suggestion), but need to actually work on the command line in that directory.
pierrefridez is offline   Reply
Old 1st Jun 2008, 09:37   #4 (permalink)
 
Join Date: Jun 2006
Location: BRISTOL!
Age: 28
Posts: 539
Made a shortcut and out the commands out the brackets and works fine

"C\\\\\\bin\mysql.exe" -u root -p

thanks
planecrazy.eu is offline   Reply
 
 
This ad will disappear if you login
Reply
 


Thread Tools


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 02:38.


vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1
© 1996-2012 The Professional Pilots Rumour Network

As these are anonymous forums the origins of the contributions may be opposite to what may be apparent. In fact the press may use it, or the unscrupulous, or sciolists*, to elicit certain reactions.

*"sciolist"... Noun, archaic. "a person who pretends to be knowledgeable and well informed".