script problem with mapped network drive

Oct 2, 2008
19
0
#1
a scripts works with this command:
for /r /D j:\taqDAILYNBBO\ %x in (*) (

but not with this:
for /r /D y:\taqDAILYNBBO\ %x in (*) (

where y: is a mapped network drive:
net use y: \\192.168.10.30\issm30_m

What is wrong?
 
Oct 2, 2008
19
0
#2
ooppss -- it was a permissions issue.

a scripts works with this command:
for /r /D j:\taqDAILYNBBO\ %x in (*) (

but not with this:
for /r /D y:\taqDAILYNBBO\ %x in (*) (

where y: is a mapped network drive:
net use y: \\192.168.10.30\issm30_m

What is wrong?