Opening DOS application XP
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?
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?
Spoon PPRuNerist & Mad Inistrator
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
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
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.