1.

Solve : path to run a batch script?

Answer»

Hi,
I am trying to run a batch program by giving the absolute path.

But it is not working.

For eg., c:\> d:\dir\test.bat

This doesn't work

But if GO directly to the dir ie.,

D:\dir> test.bat or D:\dir\test.bat

This works ( ie if i EXECUTE from the same Drive d: )

Why this happens.

I am finding problems while scheduling it on windows7


Quote from: bang_dba on June 20, 2010, 05:56:55 AM


I am trying to run a batch program by giving the absolute path.

But it is not working.

For eg., c:\> d:\dir\test.bat

This doesn't work



One problem might be the use the command "dir" as a folder NAME:

d:\NEW\test.bat
or
c:\>D:
D:\>cd new
D:\new\> test.bat







Discussion

No Comment Found