desktop batch script shortcut properties missing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When a .bat script is run from the desktop from a shortcut and AntiSpyware
requests confirmation to allow, if the script is allowed, then the first time
it runs, it runs without the properites assigned to it by the shortcut
(arguments/layout/colours/minimized etc.). Subsequent runs of the script are
ok.

The critical item here is that the arguments specified in the shortcut
Target field may condition the behaviour of the script and the first run
through AntiSpyware may malfunction because of the missing arguments.
 
Indeed. Additionally, on that first run, the script runs in the context of
the system32 directory, rather than its usual context which I think would be
either its directory location, or perhaps one assigned via the shortcut.

There are a number of serious shortcomings to the script checking areas of
beta1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top