Creating an all-inclusive shortcut


#1

I’m looking at trying to make a single shortcut file on my desktop to open up several programs. What I mean is that, I want a shortcut called (let’s say…) “Clean-up” and when clicked, it will open up CCleaner, Perfect Disk, and Eusing Registry cleaner, instead of clicking on 3 separate shortcuts. Anybody know if such a thing can be done?


#2

I’d imagine some kind of batch file could do something like that. Although I’m not versed in that kind of stuff =P


#3

freagin’ spies are everywhere.:wtf:


#4

errr, batch file?


#5

Batch file. Open up notepad. in the first line, put in ‘@echo off’ without the quotes.
Take the icon for the first one you want to run, right click -> properties.
In the top of the Shortcut tab is the ‘Target’ box. Copy everything in that box and paste it to the second line of notepad. Repeat for the second item on the third line, and third item on the fourth line. The lines will probably have quote marks around it in the Target box; make sure those are still there when you copy.
File->Save As. Change the directory to where you want, like the desktop. Change the file type box to ‘All files’, and change the name to something.bat. You MUST have the .bat as the end or it wont work. It should show up on the desktop, and doubleclick to run them.


#6

hmm

NICE Thanks Toodles!
EDIT: After test, I realized that it wont open up the second one until I close the first one and so on… :frowning: but it’s still nicer than before. Thanks.


#7

put ‘start’ at the beginning of the three program lines. example:
start e:\WINDOWS\system32
otepad.exe

This only works if the program name and the full path to it don’t contain spaces. (so nothing in your Program Files directory.) and I don’t know how to get around that part.


#8

Put the path in quotes. So it’d be:

start “C:\Program Files\program\program.exe”


#9

Ya might want to test that out and edit your post.

One thing you can do is put the old FAT version of the long names in.
start C:\progra~1\program\program.exe
^^ works fine.


#10

So change this


@echo off
"C:\Program Files\CCleaner\CCleaner.exe"
"C:\Program Files\Eusing Free Registry Cleaner\Regcleaner.exe"
"C:\Program Files\Raxco\PerfectDisk\PerfectDisk.exe"

to this


@echo off
start "C:\Progra~1\CCleaner\CCleaner.exe"
start "C:\Progra~1\Eusing Free Registry Cleaner\Regcleaner.exe"
start "C:\Progra~1\Raxco\PerfectDisk\PerfectDisk.exe"


what do i do about the Eusing Line?

Eusing~1 in this case (six characters), or Eusing%20F~1 or something?


#11

Open up a dos prompt (Start-> Run, type in ‘cmd’)
Change directory to the programfiles directory 'cd c:\progra*‘
do a directory with a /X switch to show the 8.3 format filenames ‘dir /X’
Youll get a list back like this:
07/08/2008 09:02 PM <DIR> LIBUSB~1 LibUSB-Win32
07/06/2008 05:30 PM <DIR> MESSEN~1 Messenger
07/06/2008 07:32 PM <DIR> MICROC~1 Microchip
07/06/2008 04:58 PM <DIR> MICROS~1 microsoft frontpage
07/06/2008 05:30 PM <DIR> MOVIEM~1 Movie Maker
07/27/2008 02:35 PM <DIR> MOZILL~1 Mozilla Firefox
That shows the 8.3 version of the file or directory. You’’ have to do the same with the PerfectDisk directory and PerfectDisk.exe, too, since they break 8.3 convention


#12

kk, thx

now, i get three command prompts


#13

if you’re using the blahblah~1 stuff, remove the quote marks


#14

oh :slight_smile:

thanks.