Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Opening DOS application XP

Thread Tools
 
Search this Thread
 
Old 30th May 2008, 08:19
  #1 (permalink)  
Thread Starter
 
Join Date: Jun 2006
Location: BRISTOL!
Age: 39
Posts: 526
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 30th May 2008, 09:52
  #2 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,402
Received 274 Likes on 174 Posts
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
Saab Dastard is offline  
Old 30th May 2008, 17:14
  #3 (permalink)  
 
Join Date: Nov 2007
Location: Zurich
Age: 65
Posts: 19
Likes: 0
Received 0 Likes on 0 Posts
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  
Old 1st Jun 2008, 09:37
  #4 (permalink)  
Thread Starter
 
Join Date: Jun 2006
Location: BRISTOL!
Age: 39
Posts: 526
Likes: 0
Received 0 Likes on 0 Posts
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  

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.