Solved I need help with the following batch script.

April 16, 2016 at 21:24:06
Specs: Windows 7
I wrote the following script but it did not populate the pg_menu.nfo page. Please assist and figure where I went wrong.

@echo off
net use Z: /D > null
net use Z: \\<servername>\<directoryname>
Z:Views pg_menu.nfo

See More: I need help with the following batch script.

Report •

April 17, 2016 at 20:10:49
✔ Best Answer
This seems more app-oriented than any batch-related aspect. First: does it work when you do it "manually" from the commandline - ie the sequence of two commands you gave: autoreg and views. Second, does "views" support the given commandline structure (I assume it does, but...). Most utilities require more than a bare output filename as their arguments, but I'm clueless as to "views". Third is to make sure pg_mnenu.nfo is created where you intend. It may default to an un-intended location, so make a full path for the ouput destination: z:\views z:\pg_menu.nfo

Report •

April 19, 2016 at 13:58:34
Thanks nbrane. This solves the issue, thanks alot.

Report •

Related Solutions

Ask Question