PPRuNe Forums

PPRuNe Forums (https://www.pprune.org/)
-   Computer/Internet Issues & Troubleshooting (https://www.pprune.org/computer-internet-issues-troubleshooting-46/)
-   -   Opening DOS application XP (https://www.pprune.org/computer-internet-issues-troubleshooting/329042-opening-dos-application-xp.html)

planecrazy.eu 30th May 2008 08:19

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?

Saab Dastard 30th May 2008 09:52

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

pierrefridez 30th May 2008 17:14

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.

planecrazy.eu 1st Jun 2008 09:37

Made a shortcut and out the commands out the brackets and works fine

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

thanks


All times are GMT. The time now is 19:04.


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