Search Results - Virtual Dr Forums-Computer Tech Support

Search:

Type: Posts; User: Midknyte

Search: Search took 0.07 seconds.

  1. Replies
    23
    Views
    19,310

    myfile.bat is the path/name of the bat file. ...

    myfile.bat is the path/name of the bat file.

    cmd.exe /c start /min "C:\blahblahblah\copy.bat" ^& exit
  2. Replies
    23
    Views
    19,310

    Ah, good catch jdc2000. He had mentioned wscript...

    Ah, good catch jdc2000. He had mentioned wscript in the original post, so I thought it was required. I hope it works now.
  3. Replies
    23
    Views
    19,310

    It's hard to remember when you don't post back...

    It's hard to remember when you don't post back for 3 months. :p

    I found this error about cscript, but I'm assuming it's similar for wscript:...
  4. Replies
    23
    Views
    19,310

    Didn't you write those scripts? What are you...

    Didn't you write those scripts? What are you trying to do exactly?

    That's why I asked if you tested the command from a command prompt. If it doesn't work there, it probably won't work in Task...
  5. Replies
    23
    Views
    19,310

    That's not the same thing. You're not running the...

    That's not the same thing. You're not running the same full command path.

    Did you set up the task scheduler job? Unless you set the path variable, you need to set the full path of the .exe.
  6. Replies
    23
    Views
    19,310

    So the job was working in Task Scheduler, and...

    So the job was working in Task Scheduler, and then it just stopped working?


    How exactly are you running these files manually? Are you opening a command prompt and running
    wscript.exe C:\xcopy...
  7. Replies
    23
    Views
    19,310

    It's better to NOT use spaces in folder names....

    It's better to NOT use spaces in folder names. I'd at least use underscores. xcopy_backups vs. xcopy backups.

    Try adding double quotes around all paths.

    Arguments: "C:\xcopy backups\Batch...
Results 1 to 7 of 7