mvordeme;434004 Wrote: 
> There is one little problem with the settings dialog, though, which is
> probably due to the way Perl handles string variables. I was thinking
> about a way to avoid having to tell people to copy my VB script to the
> system32 directory and ended up trying to use the %USERPROFILE%
> environment variable which points to the user's settings directory. In
> order to pass the variable to the cmd executable unharmed, it has to be
> enclosed in double quotes. The actions I am currently using all look
> like this:> 
Code:
--------------------
  >   > cmd /C cscript "%USERPROFILE%\ConfigureLO.vbs" /Action:busy /Log:true
--------------------
> > This setting is not properly loaded back into your settings dialog but
> cut off at the quotes:> 
Code:
--------------------
  >   > cmd /C cscript 
--------------------
> > So the next time I save the settings, the actions will be broken.
Ok, Jim Z and Michael H have set me on the path to "quote"
enlightenment.  [% FILTER html_entity %]...who knew?  Anyway, quotes in
commands will work just fine in the next version...without the need to
substitute backticks for the real thing.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to