Results 1 to 4 of 4

Thread: AT with Parameter

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    540

    AT with Parameter

    Code:
    Shell "at " & TimeAtLaunch & " /interactive " & Chr(34) & App.Path & "\" & App.EXEName & Chr(34) & " -Open", vbMinimizedNoFocus
    For some reason, when the time comes, scheduler doesn't launch this.
    I check what is actually put inside scheduler and it is something along this effect:

    1 Today 5:43 AM AM /interactive "C:\Documents and Settings\Username\Desktop\System Account" -Open

    After the time come it places "Error" before the ID.

    So i checked the system logs and they said "File Not Found" when trying to start it.

    It doesn't like the -Open parameter... but the program needs to be started with a parameter... how can i use this command and have this program run this parameter. I've tried heaps of different ways, but for some reason it just doesn't work.
    Last edited by Slyke; Nov 19th, 2007 at 03:12 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width