Index » Immidio Resource Kit » Issues With ReconnAct Messages in this topic - RSS
11/22/2011 11:05:57 PM
GlxyDs
Posts 1
Hi,

I'm trying to launch a simple VBS script that records every time the user logs on or reconnects to our server. I've got the vbs script all worked out and was trying to impliment it with ReconnAct. Now when running my batch file I get the following error:

[quote=]Windows cannot find '-l'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start Button, and then click Search.

This is probably just a n00b mistake I'm making. Here is my batch file:

[quote=]start "C:\Program Files\Immidio\Resource Kit\ReconnAct.exe" -l "C:\Documents and Settings\support\Desktop\logging.vbs" -r "C:\Documents and Settings\support\Desktop\logging.vbs" -a -h

Any help would be great!
11/23/2011 9:17:58 AM
Arnout Grootveld — Immidio
Posts 269
Hi,

start has the strange behavior that it interprets its first argument as a window title if it's in quotes. In your example, the path to ReconnAct is taken as the window title and -l is interpreted as being the command to start...

The fix is easy: just specify "" (two double quotes with nothing in between) as the first argument to start.

--
Arnout.
edited by Arnout Grootveld — Immidio on 11/23/2011
pages: 1
|

Index » Immidio Resource Kit » Issues With ReconnAct