What is the *.* for in the ROBOCOPY line?
It should be either in the quotes of the source path or may be even omitted.
What is the *.* for in the ROBOCOPY line?
It should be either in the quotes of the source path or may be even omitted.
may be addjust before stage 2 just so you can can see all the drive mappings.Code:net use >> \\<servername>\<sharename>$\test.log
If you are using XCOPY or ROBOCOPY you may not need the drive mapping at all and just specify the source psth using the original UNC.
I think it might also be worth avoid mapping to z: as I think I read in Minasi or somewhere that Windows maps that letter to the share where the logon script is located.
Nath, try using a different drive letter. I've a funny feeling that MS use the Z: drive during the logon process (think it might be mapped to NETLOGON share on the PDC). I see the initial error relating to UNC paths on CMD based logon scripts as well so it's quite normal. I believe there is a utility somewhere on the net which can silence a CMD script. I'll have a look when I get change.
ah ha - that could be the answer gents, as I dont think i used the mapped drive until i saw the moaning CMD error and thought it might be that.
I'll report back asap...
we use z: for home drives with no problem although that might be treated differently as its set by the system and not a script.
Do you have coin operated web access AJ?Originally Posted by ajbritton
![]()
Seriously though, was the utiltily you were thinking of called CMDOW. There's mention of it on the MSFN Unattend install CD site.
Very funnyOriginally Posted by NetworkGeezer
![]()
CMDOW was not what I was thinking of, but it certainly looks like it can do the job. I've seen scripts which call CMDOW on their first line to hide themselves (CMDOW @ /HID), but I did not know it could be used as a launcher as well.
edit: I tried it and it appears to work.
Syntax: CMDOW /RUN /HID MyScript.CMD
another edit: If you want it, get it from www.commandline.co.uk along with lots of other useful looking stuff!
Managed to get it working....
Tried CMDOW but no joy... script didnt seem to run or anything.
Just been tweaking things and connecting via X seems to have done the trick - along with a few tweaks to the syntax of the script
I can live with the other error heheThe script is normally hidden from view when run anyhow [GP assigned remember].
Thanks for the input ppl.
Nath.
There are currently 1 users browsing this thread. (0 members and 1 guests)