Creating an all-inclusive shortcut

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?

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

freagin’ spies are everywhere.:wtf:

errr, batch file?

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.


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.

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

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.

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

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

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.

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?

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

kk, thx

now, i get three command prompts

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

oh :slight_smile: