Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista - Re: How do I make a shortcut run an program in "current directory"

Reply
 
Old 10-25-2007   #1 (permalink)
P. Di Stolfo


 
 

Re: How do I make a shortcut run an program in "current directory"

Hello,

I tried as you said and created a batch in a folder, and a shortcut to the
batch. Then, I deleted the path from the "Start in" field. When I copied the
two files anywhere, it still started (even after deleting the original
files).
Have you tried this option already? Or do you mean something else?

Greetings,
P. Di Stolfo
--
////////////////////////////
http://blog.lysorp.com - Small Windows blog in German language
///////////////////////////

"Baboon" <baboon@xxxxxx> schrieb im Newsbeitrag
news:A2B0A861-CBFA-4C14-AAC3-F698A19346C2@xxxxxx
Quote:

> Hi -
>
> I have been asked to package something that will easily run a batch file
> to
> be distributed to over a thousand end users potentially. This needs to
> run
> on both XP and Vista. These are personally owned computers so we don't
> manage them.
>
> Without getting into detail, it involves a shortcut that needs to point to
> the batch file in the same directory. From a KB article prior to Vista, I
> understand that leaving the Start In field blank is supposed to make the
> shortcut work on the current directory. In my testing I have found this
> to
> be the case with XP, but not Vista. When I ran the exact same thing on
> Vista, it tried to use the exact path in the Shortcut field and failed.
> From
> what I can see, there is no way to enter just the name of the target
> application with no path in the Target field.
>
> If I use %UserProfile%\Desktop\<FolderName> in the Target field, this
> should
> work, but this will force the user to follow specific instructions to
> unzip
> the files to the Desktop by using the optional Browse button, rather than
> the
> Upzip button. This is probably not acceptible since lots of people would
> fail to follow the directions closely.
>
> Does anyone know of a way I can get this to work in Vista?
>
> Thanks.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Query length Limitations on Win2K Using "ADO" "Active Directory Provider" ... Error -2147217900 VB Script
Is it possible to make a tutorial for "shortcut to clear undo/redo in explorer"? General Discussion
Make a shortcut "Run as" someone else... General Discussion
RE: How do I make a shortcut run an program in "current directory" Vista account administration
"Program Files" directory problem - probably virtualisation issue Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46