Batch mode not working

wwjd

New member
I can not seem to get the batch mode to work!

After I have identified where to cut the commercials I give the project a
name and then add it to the batch que. What I want it to do is save the file as an mpeg but without the cut commercials. I get the following error
when I press the "Save and Execute' button.

V:\Cuts>cscript //nologo "C:\Program Files\VideoReDo-Plus\vp.vbs" "V:\WinTV PVR\Monk\Mr__Monk_Goes_Back_to_School (02).VPrj" "V:\Cuts\XMr__Monk_Goes_Back_to_School (02).MPG" /t1 /d /q
'cscript' is not recognized as an internal or external command,
operable program or batch file.

V:\Cuts>Echo Done
Done

What am I doing wrong
 

Danr

Administrator
Staff member
What operating system are you using? If Win98 or ME then you might have to download windows scripting from the Microsoft site although that isn't an issue we've heard before.

The cscript.exe file, should be located in your Windows\System32 folder. Its installed as part of your Windows installation. Please check in that folder for the file cscript.exe. Also look for wscript.exe.

Another possibility, is that your \Windows\System32 folder is not on your path. Once again, this is the default at Windows installation, but if it was changed its easily back.
 

wwjd

New member
My OS is XP Home Edition. I have had the computer for over 3 years with the original OS install.
 

Danr

Administrator
Staff member
Is cscript.exe in your windows\system32 folder? We've had no other reports of problems like this, so I'm guessing its a configuration issue on your system. We will help you solve it.
 

Danr

Administrator
Staff member
OK, then open up a cmd window and type in cscript. What do you see? If you get an error, type in "path" (no quotes) and post the result here. C:\windows\system32 should be on the path.
 

wwjd

New member
I will give that try when I get home later this afternoon.

Could scripting be disabled somehow? In IE in the security section scripting can be disabled. I use a fairly new version of Norton, could
scripting be turned off there?

I installed VideoReDo on my other computer and 'batch' processing works
fine!
 

Danr

Administrator
Staff member
It could be disabled, by Norton. On one of our systems Norton disables/warns about scripts that access the file system. Our scripts, by design don't do that.

My guess is that the path variable isn't setup properly.
 

wwjd

New member
This is what I got:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cscript
'cscript' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Owner>
 

Danr

Administrator
Staff member
Then you need to add c:\windows\system32 to your path. First make sure its not there. From the cmd prompt type "path" (no quotes). Feel free to post your path here if you want.

Now I'm wondering how you started cmd.exe. This file is usually in the c:\windows\system32 folder.

You can add "c:\windows\system32" to your path by:

1) Going to the control panel.
2) Clicking on system
3) Clicking on the advanced tab
4) Click on the environment button at the bottom of the page.
 

wwjd

New member
When I type in 'path' at the command line I get this;

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cscript
'cscript' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Owner>path
PATH=C:\Program Files\Common Files\Ulead Systems\MPEG

C:\Documents and Settings\Owner>
 

Danr

Administrator
Staff member
Use one of the existing path variables. Edit it and append to the end: ";C:\windows\system32" (no quotes).
 

Danr

Administrator
Staff member
Looks like some installation program (perhaps Ulead) messed up your path.

Here is the first part of my path:
Code:
C:\WINDOWS\system32;C:\WINDOWS
I would suggest putting that in the system path. You'll see 2 sections in the environment dialog, system and user.
 
Top Bottom