Re: How to create a shortcut to open several files?



"Eric" <Eric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6AE42FD0-807B-478D-AEFA-5234B05A38AF@xxxxxxxxxxxxxxxx
Does anyone know how to create a shortcut to open several files with only
one
click?
Thank you in advance
Eric

I don't know about creating a shortcut that will open up multiple files.

But, you can create a batch file for this purpose.
Create a new text file.
Put in commands to open files up.
Save text file.
Close the file.
Rename it to have a .bat extension instead of a .txt extension. .bat
specifies batch files.
Double click on the batch file to open up your other files.

A quick example of the commands to use:

start Movies.txt
start autoruns.exe
start C:\Progra~1\Nikon\PictureProject\NkbPProj.exe

The start command allows multiple files to open at once.
The first two lines open up files in the same directory (these are files on
my desktop - my movies list and the Autoruns program from Sysinternals.
The last line opens up my Nikon PictureProject software for my digital
camera. One thing to note here is that if there are any spaces in the file
names or folder names then you need to enclose them in quotes or use the 8.3
filename notation (ex. the Progra~1 specifies the Program Files folder in
8.3 notation.

You can also use quotes like this: C:\"Program
Files"\Nikon\PictureProject\NkbPProj.exe where Program Files is in double
quotes between the backslashes. If you don't do this or the 8.3 notation for
files or folders that have spaces in their names then those files won't open
and you will get an error saying that they can't be opened.

If you want to add files to your batch file then right click on the batch
file and choose Edit.

-Dan


.



Relevant Pages

  • Re: ShellExecuteEx "Batch file on SD Card" failing: CE 5
    ... SD Card) using ShellExecuteEx on a CE 5 platform? ... attempts to launch a Batch file that resides in that directory. ... Console Window opens for a very short period and this error message ... SHELLEXECUTEINFO sei =; ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to follow link from command line
    ... The example above will open the desktop folder from a command window if you ... type in the name of the batch file, that batch file is in the same folder, ... but it opens up an Explorer window. ... supported on Windows unless you use something like ...
    (microsoft.public.windowsxp.general)
  • Re: Remote Desktop Connection to Terminal Services 2k3
    ... I tried the batch file and it worked. ... >>> Once Microsoft Access is opened I then have to open an Access ... >>> database file through the open dialog box from within the ... >>> Microsoft Access opens. ...
    (microsoft.public.windows.terminal_services)
  • Best way to wait
    ... I have a routine that runs a batch file. ... continue to try until either the file opens (in ... Open sTPPath & "\deploy.log" For Input As #1 ...
    (microsoft.public.excel.programming)
  • Re: Need a batch file or something to autostart LIVE encoding after windows boot up<===CORRECTION
    ... >I can see that the batch file is going to require the session setup ... >the encoder loads and activates the camera. ... >Use a batch file to call to open the same wme file and it just opens ... >>> sure I can put the encoder in the start up folder but that only opens ...
    (microsoft.public.windowsmedia.encoder)