tags:

views:

82

answers:

0

i want to pass a variable from vbscript to batch file.
i used :shell.run "c.bat D:\d"
and in c.bat recieved it as %1
i.e xcopy %1 D:\o\ /E
it works fine. but actually the path is to be entered by user. so it is saved in a variable say x. how do i pass this variable to the batch file?