Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
yadhu_cse
Constraint Violating Yak Guru
252 Posts |
Posted - 2011-10-03 : 01:24:00
|
Hi,i have a batch file that will execute files in the current directory.. my question is that . if i execute the batch file in one system it ll execute files in the current directory with out specifying complete path but same is not working in aother system.i have copied batch file aswell as required files in the same directory...can u tel me the reason why its differs in other syste. if i give complete path it works if not it will gives error. coulde not able to find file. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-03 : 01:26:17
|
whats the path passed to batch file? is it UNC path or mapped drive path?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
yadhu_cse
Constraint Violating Yak Guru
252 Posts |
Posted - 2011-10-03 : 02:04:51
|
no its not mapped drive. |
|
|
yadhu_cse
Constraint Violating Yak Guru
252 Posts |
Posted - 2011-10-03 : 02:06:29
|
its stand alone system |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-03 : 02:23:54
|
so is the path like \\servername\...------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
yadhu_cse
Constraint Violating Yak Guru
252 Posts |
Posted - 2011-10-03 : 02:27:09
|
no. i just mentioned "xyz.zip" |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-10-03 : 02:37:39
|
then where's path specified?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
yadhu_cse
Constraint Violating Yak Guru
252 Posts |
Posted - 2011-10-03 : 03:02:25
|
in batch file if i mention c:\xyz\abc.zip it works fine.but if i place batch file and abc.zip in same directory and if i mention just abc.zip it doesnot work. |
|
|
|
|
|