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

> 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.